[Proj] More Unicode etc.
Gerald I. Evenden
geraldi.evenden at gmail.com
Tue Jun 9 18:57:01 PDT 2009
On Tuesday 09 June 2009 3:37:20 pm support.mn at elisanet.fi wrote:
> I have included a simple text file decode in different (Windows) formats.
>
> "Test file: abcdöäå<CR><LF<CR><LF>"
I grabbed the above line and see below.
> Hex dump is done by
>
> http://nobodysoft.com/
"hd" below does much the same thing and is part of the Linux distribution.
I copied your test "file" above and:
gie at charon:~$ echo "Test file: abcdöäå<CR><LF<CR><LF>" >foo
gie at charon:~$ cat foo
Test file: abcdöäå<CR><LF<CR><LF>
gie at charon:~$ hd foo
00000000 54 65 73 74 20 66 69 6c 65 3a 20 61 62 63 64 c3 |Test file: abcd.|
00000010 b6 c3 a4 c3 a5 3c 43 52 3e 3c 4c 46 3c 43 52 3e |.....<CR><LF<CR>|
00000020 3c 4c 46 3e 0a |<LF>.|
00000025
gie at charon:~$
where the string between "s in the first line was from a <ctrl>v
The above is *exactly* the way it appears on my console except that the font
et al. of the Kontact mailer changes the image of a KDF console display.
The string edits and displays just fine in Linux editors vim and kate---local
editors that come with the OS.
>
> UTF-8
>
> 00000000 54 65 73 74 20 66 69 6C 65 3A 20 61 62 63 64 C3 Test file: abcd.
> 00000010 B6 C3 A4 C3 A5 0D 0A 0D 0A
>
...
> Text file formatting is done by EditPlus:
>
> http://www.editplus.com/
Looks somewhat like a copy of vi/vim---I have been using vi since the 80s.
Also KDE's kate does much the same. All part of a Linux distribution.
> I am sure that if the reader does not have any internal support for
> different encodings, the proj-4 reader will most propably fail. The
> EditPlus scanner can detect the coding just by looking into the text file.
> Also the Windows Notepad editor can detect these different text file
> formats.
I doubt it, at least under Linux.
> Janne.
What OS are you using? That dark-age M$? Oh yes, "notepad."
My deepest sympathy. And how much did you pay for M$? Tsk, tsk. When will
people learn?
--
The whole religious complexion of the modern world is due
to the absence from Jerusalem of a lunatic asylum.
-- Havelock Ellis (1859-1939) British psychologist
More information about the Proj
mailing list