diff --git a/src/main/scala/com/neowit/apex/AppVersion.scala b/src/main/scala/com/neowit/apex/AppVersion.scala index a0f01735..c38dc738 100644 --- a/src/main/scala/com/neowit/apex/AppVersion.scala +++ b/src/main/scala/com/neowit/apex/AppVersion.scala @@ -6,7 +6,7 @@ import com.neowit.utils.ResponseWriter.{MessageDetail, Message} object AppVersion { val APP_NAME = "tooling-force.com" - val VERSION = "0.3.1.3" + val VERSION = "0.3.1.4" } class AppVersion extends ApexAction { override def act(): Unit = { diff --git a/src/main/scala/com/neowit/apex/completion/ApexModel.scala b/src/main/scala/com/neowit/apex/completion/ApexModel.scala index 76f43365..789471e3 100644 --- a/src/main/scala/com/neowit/apex/completion/ApexModel.scala +++ b/src/main/scala/com/neowit/apex/completion/ApexModel.scala @@ -164,7 +164,7 @@ case class ApexNamespace(name: String) extends ApexModelMember { if (null == is) { return } - val doc = scala.io.Source.fromInputStream(is.openStream()).getLines().mkString + val doc = scala.io.Source.fromInputStream(is.openStream())("UTF-8").getLines().mkString val jsonAst = JsonParser(doc) val types = jsonAst.asJsObject.fields //Map[typeName -> type description JSON] val typesWithSuperTypes = List.newBuilder[ApexType]