No Unicode headers 0xFFFE in 4.7.2 (Write BOM didn't fix it)

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, MudGuard

Post Reply
msc11
Posts: 1
Joined: Thu Feb 12, 2004 10:17 pm

No Unicode headers 0xFFFE in 4.7.2 (Write BOM didn't fix it)

Post by msc11 »

Hi all,

I noticed that Textpad wasn't saving the 0xFFFE Unicode headers on my Unicode documents, and I read elsewhere on this forum (http://www.textpad.com/forum/viewtopic.php?t=4287) that I could enable that by turning the setting "Write Unicode BOMs" on for my document classes. So I did that, and now it does write a Unicode header, but it's not the 0xFFFE that I or my application are expecting; rather, it seems to be something like 0xEFBBBF. How can I get the good old 0xFFFE back? Thanks.

-Marco
Marco S. Casalaina
PeopleSoft Inc.
User avatar
MudGuard
Posts: 1295
Joined: Sun Mar 02, 2003 10:15 pm
Location: Munich, Germany
Contact:

Post by MudGuard »

If I remember correctly, FFFE is only used for UTF-16.
As it turns out to be either FFFE or FEFF depending on byte order.

Textpad only writes UTF 8, where the correct header is EFBBBF...
Post Reply