[fpc-devel] XML and encoding problems

Alexander Todorov alexx.todorov at gmail.com
Tue Apr 25 10:42:28 CEST 2006


On 4/23/06, Bogusław Brandys <brandys at o2.pl> wrote:
> Result printed on console are not sufficient.Compare binary chunks,
C:\>fc -B save.txt.windows save.txt.linux
Comparing files save.txt.windows and save.txt.linux
00000005: 3F D0
00000006: 3F A2
00000007: 3F D0
00000008: 3F B8
00000009: 4E D1
0000000A: 3F 85
0000000B: 3F D0
0000000C: 3F BE
0000000D: 3F D0
0000000E: 3F BC
0000000F: 3F D0
00000010: 3F B8
00000011: 4E D1
00000012: 3F 80
00000014: 3F D0
00000016: 4E D1
00000017: 3F 83
00000018: 3F D0
00000019: 3F BC
0000001A: 3F D0
0000001C: 3F D0
0000001D: 3F BD
0000001E: 3F D0
0000001F: 3F BE
00000020: 3F D0
00000021: 3F B2
00000023: 3F D0
00000024: 3F A2
00000025: 3F D0
00000026: 3F BE
00000027: 4E D1
00000028: 3F 82
00000029: 3F D0
0000002B: 3F D0
0000002C: 3F B2
0000002D: 0D 0A
FC: save.txt.windows longer than save.txt.linux

> then later check for system locale support.

How do I do that?
On Linux:
alex at optical:~/temp/utf$ locale
LANG=bg_BG.UTF-8
LANGUAGE=bg,mk
LC_CTYPE="bg_BG.UTF-8"
LC_NUMERIC="bg_BG.UTF-8"
LC_TIME="bg_BG.UTF-8"
LC_COLLATE="bg_BG.UTF-8"
LC_MONETARY="bg_BG.UTF-8"
LC_MESSAGES="bg_BG.UTF-8"
LC_PAPER="bg_BG.UTF-8"
LC_NAME="bg_BG.UTF-8"
LC_ADDRESS="bg_BG.UTF-8"
LC_TELEPHONE="bg_BG.UTF-8"
LC_MEASUREMENT="bg_BG.UTF-8"
LC_IDENTIFICATION="bg_BG.UTF-8"
LC_ALL=
alex at optical:~/temp/utf$

How to check on Windows?

Is this enough to report as a bug?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: save.txt.windows
Type: application/octet-stream
Size: 47 bytes
Desc: not available
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20060425/5d799e30/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: save.txt.linux
Type: application/octet-stream
Size: 46 bytes
Desc: not available
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20060425/5d799e30/attachment-0001.obj>


More information about the fpc-devel mailing list