Changeset 1489


Ignore:
Timestamp:
04/18/12 14:26:54 (12 years ago)
Author:
wschamai
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/modelicaml/org.openmodelica.modelicaml.modelica.importer/src/org/openmodelica/modelicaml/modelica/importer/model/OpenModelicaCompilerCommunication.java

    r1483 r1489  
    66import org.modelica.mdt.core.ICompilerResult;
    77import org.modelica.mdt.omc.OMCProxy;
     8import org.openmodelica.modelicaml.common.constants.Constants;
    89import org.openmodelica.modelicaml.modelica.importer.Activator;
    910import org.openmodelica.modelicaml.modelica.importer.helper.StringHandler;
     
    193194    public String loadFile(String strFile) {
    194195        return executeCommand("loadFile(\"" + strFile + "\")");
     196       
     197        // TODO: this is a workaround. remove the encoding after Acceleo will encode the files with UTF-8
     198//      return executeCommand("loadFile(\"" + strFile + "\", encoding=\""+Constants.fileEncoding+"\")");
    195199    }
    196200
Note: See TracChangeset for help on using the changeset viewer.