han130634 / pb4php

Automatically exported from code.google.com/p/pb4php
0 stars 1 forks source link

Incorrect unicode character encoding #19

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Please add an explicit encoding conversion routine into the SerializeToString() 
method of PBString class to handle a unicode characters correctly. 
mb_convert_encoding($this->value, "UTF-8") worked for me but I'm not proficient 
in PHP, so there can be a better way.

Original issue reported on code.google.com by yury.ko...@gmail.com on 15 Nov 2010 at 10:07