Commit ca07bf9c authored by SergeyLuzyanin's avatar SergeyLuzyanin

String.fromCharCode -> AscCommon.encodeSurrogateChar

parent f8a93e0c
......@@ -2716,7 +2716,7 @@ function CBinaryFileWriter()
{
case para_Text:
{
_run_text += String.fromCharCode(_elem.Content[j].Value);
_run_text += AscCommon.encodeSurrogateChar(_elem.Content[j].Value);
break;
}
case para_Space :
......@@ -2782,7 +2782,7 @@ function CBinaryFileWriter()
{
case para_Text:
{
_run_text += String.fromCharCode(_elem_h.Content[j].Value);
_run_text += AscCommon.encodeSurrogateChar(_elem_h.Content[j].Value);
break;
}
case para_Space :
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment