OpenOffice.org Forum at OOoForum.orgThe OpenOffice.org Forum
 
 [Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register
 [Profile]   [Log in to check your private messages]   [Log in

Help reqd on how OOo 2 stores Unicode in content.xml

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> General Discussion
View previous topic :: View next topic  
Author Message
jamadagni
General User
General User


Joined: 27 Nov 2005
Posts: 15
Location: 13 N 80 E

PostPosted: Thu Dec 29, 2005 7:38 am    Post subject: Help reqd on how OOo 2 stores Unicode in content.xml Reply with quote

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
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> General Discussion All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group