AshishJoshi-asj / php-excel-reader

Automatically exported from code.google.com/p/php-excel-reader
0 stars 0 forks source link

Wrong encoding for cells with formatting #95

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Reproducing:
Need file with cells formated with using of non ISO-8859-1 characters (as 
example: cyrillic characters )

Outputing of this cells don't decoding.

My hack:
String 835, function _format_value($format,$num,$f) {
//Fix for format encoding
if (mb_detect_encoding($format) == 'UTF-8') $format = 
mb_convert_encoding($format, 'UTF-8', 'UTF-16LE');

Original issue reported on code.google.com by shemyako...@gmail.com on 26 Oct 2010 at 2:16