Opened 14 years ago

Closed 8 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

Description

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 14 years ago.
UTF16 file
unicode_test_utf16 _withBOM.txt (464 bytes ) - added by atulagrwl 14 years ago.
File with BOM

Download all attachments as: .zip

Change History (7)

by leszek, 14 years ago

Attachment: unicode_test_utf16.txt added

UTF16 file

comment:1 by atulagrwl, 14 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, 14 years ago

File with BOM

comment:2 by siarzhuk, 12 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, 12 years ago

Blocked By: 9395 added

comment:4 by pulkomandy, 8 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, 8 years ago

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