Opened 10 years ago

Closed 4 years ago

#6252 closed bug (fixed)

No UTF16 support in StyledEdit or Pe

Reported by: leszek Owned by: korli
Priority: normal Milestone: R1
Component: Applications/StyledEdit Version: R1/alpha2
Keywords: Cc:
Blocked By: #9395 Blocking:
Platform: All


I have a utf16 textfile that cannot be opened with stylededit. Pe throws an error about utf8 support and does not show the contents right. (see the attachement for the txt file)

Attachments (2)

unicode_test_utf16.txt (462 bytes ) - added by leszek 10 years ago.
UTF16 file
unicode_test_utf16 _withBOM.txt (464 bytes ) - added by atulagrwl 10 years ago.
File with BOM

Download all attachments as: .zip

Change History (7)

by leszek, 10 years ago

Attachment: unicode_test_utf16.txt added

UTF16 file

comment:1 by atulagrwl, 10 years ago

I tested it with attached unicode_test_utf16.txt and was able to reproduce the issue on both Pe and StyledEdit. But when i looked at the file in hex, i saw that it does not contain BOM marker. When I tested it wirh adding BOM to file, it works fine in case of StyledEdit but Pe still have same problem. attaching the file with BOM marker.

by atulagrwl, 10 years ago

File with BOM

comment:2 by siarzhuk, 8 years ago

Blocked By: 6447 added

Related to problem discussed in #6447. In case mentioned powering STXT translator with ICU Charset Detector this one should be fixed too.

comment:3 by siarzhuk, 8 years ago

Blocked By: 9395 added

comment:4 by pulkomandy, 4 years ago

Blocked By: 6447 removed

Fixed in hrev50552 for StyledEdit. For Pe, this is now to be handled by Pe developers.

comment:5 by pulkomandy, 4 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.