Am Donnerstag 19 Oktober 2006 13:52 schrieb Christian W. Zuckschwerdt: > >> need to put null charactere between each letter and more strange two > >> other null charactere at the end like this : > >> 0x00,0x49,0x00,0x4D,0x00,0x41,0x00,0x47,0x00,0x45,0x00,0x53,0x00,0x00 > > > > This is simply UCS-2 unicode character encoding. In UCS-2, each > > character is 16bit (=2byte) wide. > > It should be UTF-16 it seems
You are right, though I am not sure the spec writers understood the difference (some parts specify that UTF-16 uses 2bytes per character) as UTF-16 makes the whole thing _much_ more complicated and most of the time, UTF-8 saves space with almost no trade-off but many gains. Too bad :-/ HS ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Openobex-users mailing list [email protected] http://lists.sourceforge.net/lists/listinfo/openobex-users
