You need to sign in to do that
Don't have an account?
Vaclav Lukasek
force.com ide unicode issue in new version
I have same code uplodade by version 28 a new version (33) of Force.com ide
new version implements special chars bad way:
following sample is not working due all special chars are missinterpreted
new version implements special chars bad way:
following sample is not working due all special chars are missinterpreted
map<String, String> EscapeList = new map<String, String>{
'–' => '–',
'•' => '•',// middle dot, bullet
'€' => '€',
' ' => ' ',
};
String val = '€ •';
for (String el:EscapeList.keySet()){
val = val.replace(EscapeList.get(el), el);
}
'–' => '–',
'•' => '•',// middle dot, bullet
'€' => '€',
' ' => ' ',
};
String val = '€ •';
for (String el:EscapeList.keySet()){
val = val.replace(EscapeList.get(el), el);
}
'–' => '�',
'•' => '�',// middle dot, bullet
'€' => '�',
' ' => '�',