Home > front end >  8 how unicode characters turn 4 Chinese characters
8 how unicode characters turn 4 Chinese characters

Time:10-10


I'm a CGM picture there are four Chinese characters: modern jiangsu
But the Java script reads the file
 var the req=new XMLHttpRequest (); 
The req. Open (' GET 'fileURL, false);
The req. OverrideMimeType (' text/plain; Charset=x - the user - defined ');
The req. Send (null);
If (the req. Status!=200) throwException (_exception. FileLoadFailed);
FileContents=the req. The responseText;

 
ReadString: function (length) {
Var result=result=this. _buffer. Substr (enclosing _pos, length);
Enclosing _pos +=length;
return result;
},

Character=readString (8)
Parsing out eight unicode is as follows: s \ uf7b0N \ uf7e3l_ \ uf782 \ uf7cf

Could you tell me how to again into the eight characters, four Chinese characters: modern jiangsu

  • Related