UTF-32 encoding

English main discussion
Post Reply
  • Author
  • Message
KDJ
Offline
Posts: 1949
Joined: Sat Mar 06, 2010 7:40 pm
Location: Poland

Post by KDJ »

There are errors in the UTF-32 coding.

Offline
Site Admin
Posts: 6311
Joined: Thu Jul 06, 2006 7:20 am

Post by Instructor »

Example?

KDJ
Offline
Posts: 1949
Joined: Sat Mar 06, 2010 7:40 pm
Location: Poland

Post by KDJ »

Conversion to UTF-32 is not working properly.
I did convert the ANSI file to UTF-32.
For comparison I used two programs: AkelPad and EditPadLite.
Test files are here:
http://sharingmatrix.com/file/8912643/Test_UTF32.7z

Offline
Site Admin
Posts: 6311
Joined: Thu Jul 06, 2006 7:20 am

Post by Instructor »


KDJ
Offline
Posts: 1949
Joined: Sat Mar 06, 2010 7:40 pm
Location: Poland

Post by KDJ »

Now is good.
Thank you very much.
But when opening the file in UTF-32 without BOM is the message: "C:\TXT\Test_UTF32LE_noBOM.txt is a binary file. Continue?"

Offline
Site Admin
Posts: 6311
Joined: Thu Jul 06, 2006 7:20 am

Post by Instructor »

KDJ
With the next test version you will not get binary message if codepage remembered by program, but the message will appear if file not in recent files list, because UTF32LE, UTF32BE without BOM autodetection isn't supported.

KDJ
Offline
Posts: 1949
Joined: Sat Mar 06, 2010 7:40 pm
Location: Poland

Post by KDJ »

Instructor
But in the new test version is the same file AkelPad.exe every two hours earlier.

Offline
Site Admin
Posts: 6311
Joined: Thu Jul 06, 2006 7:20 am

Post by Instructor »

KDJ
Clear your browser cache.

KDJ
Offline
Posts: 1949
Joined: Sat Mar 06, 2010 7:40 pm
Location: Poland

Post by KDJ »

Instructor
Everything cleared. And still the file is the same.
AkelPad.exe: size 306688 B, date 21-06-2010, time 15:26:34.

Offline
Site Admin
Posts: 6311
Joined: Thu Jul 06, 2006 7:20 am

Post by Instructor »

Uploaded file has 156749 bytes in size. Try later - provider can give you file from cache.

KDJ
Offline
Posts: 1949
Joined: Sat Mar 06, 2010 7:40 pm
Location: Poland

Post by KDJ »

Already is.
Now it works beautifully.
Thank you very much Instructor.

PS: AkelPad.zip 156749 bytes, AkelPad.exe 306688 bytes.
Post Reply