Quantcast
Channel: Adobe Community : Discussion List - Using Flash Builder
Viewing all articles
Browse latest Browse all 1802

Exporting the Advanced grid in multi language

$
0
0

I'm trying to export advanced grid to excel with multi language support by using function

 

public function saveToMByteArray(codePageID: int, charSet: String);

 

 

which is used to writemultibyte(value,charset);

 

and exporting with this

 

  var xls:ExcelFile = new ExcelFile();

  xls.sheets.addItem(sheet);

  var bytes:ByteArray = xls.saveToMByteArray(54936, "GB18030"); // Simplified Chinese (4 byte); Chinese Simplified (GB18030

  var fileReference:FileReference = new FileReference();

  fileReference.save(bytes, filename+'.xls');

 

but i'm facing problem with conversion on excel like below .

 

ch.PNG

 

it's converting only half of word and appending previous word char.

 

Can i know how it's working and converting only half of each word.??


Viewing all articles
Browse latest Browse all 1802

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>