Shriramana Sharma wrote:
> Opening OOo (first Writer then Calc) I entered the Unicode sequence:
>  
> 0928 092e 0938 094d 0924 0947
> 
> (Devanagari script for namaste = "I bow to you" = greeting)
> 
> 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
  
Both OpenOffice.org and Kate (and most other programs working with Unicode
except of programs by Microsoft, who needs to be different :-)) doesn't
write files in the plain Unicode, but with UTF-8
<http://en.wikipedia.org/wiki/UTF-8>. More about Unicode, UTF-8 and all the
mess surrounding it is in the wonderful article by Joel Spolsky (not only
for programmers!) “The Absolute Minimum Every Software Developer
Absolutely, Positively Must Know About Unicode and Character Sets (No
Excuses!)” <http://www.joelonsoftware.com/articles/Unicode.html>

Best,

Matěj

-- 
Matej Cepl, http://www.ceplovi.cz/matej/blog/
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
 
I went to a Grateful Dead Concert and they played for SEVEN
hours.  Great song.
    -- Fred Reuss



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to