jamadagni General User


Joined: 27 Nov 2005 Posts: 15 Location: 13 N 80 E
|
Posted: Thu Dec 29, 2005 7:38 am Post subject: Help reqd on how OOo 2 stores Unicode in content.xml |
|
|
Opening OOo (first Writer then Calc) I entered the Unicode sequence:
0928 092e 0938 094d 0924 0947
but I find that OOo (both Writer and Calc) stores it as the following sequence in content.xml -
e0 a4 a8 e0 a4 ae e0 a4 b8 e0 a5 8d e0 a4 a4 e0 a5 87
A friend told me that on Windows the digits are stored in little-endian model, and sure enough Windows Notepad saved the following Unicode text file:
28 09 2e 09 38 09 4d 09 24 09 47 09
But I fail to see any connection between the above text and what OOo stored. Can anyone please elucidate why OOo stores the Unicode text in a different way from the actual text? And what is the actual way? I would like to write a file in ODS format containing Unicode text directly from another application, which is why I ask this.
Thanks.
Shriramana. _________________ Registered Linux User #395953
Using KDE 3.5.10 on Kubuntu Hardy
Trying out KDE 4.1.1 on Kubuntu Intrepid |
|