Poster: Legorol at 7/15/2006 6:52:21 AM PDT Subject: slouken: more UTF-8 marker issue in TOC |
| |
It seems that although WoW now swallows the leading UTF-8 marker sequence (EF BB BF) in the TOC when interpreting the ## Interface line, nevertheless it's still not quite happy with it.
With a minimal AddOn like this, an entry appears in FrameXML.log.
UTF8.toc
{EF}{BB}{BF}## Interface: 11100
## Notes: Some accented letters: éáűúőüó
UTF8.lua
UTF8.lua
DEFAULT_CHAT_FRAME:AddMessage("Hello UTF-8 World!");
The {EF}{BB}{BF} above in the TOC is just for illustrative purposes, to indicate that the file starts with those 3 bytes. The AddOn above runs fine, the Hello World message appears. However, an entry like this appears in FrameXML.log:
7/15 14:46:57.734 Loading add-on UTF8
7/15 14:46:57.734 ** Loading table of contents Interface\AddOns\UTF8\UTF8.toc
7/15 14:46:57.734 Couldn't open Interface\AddOns\UTF8\## Interface: 11100
It seems to me that WoW correctly swallows the UTF-8 markers when checking version number, but not when parsing the file for files to load.
|
| | http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=414970&p=#post414970 |
| |
Poster: slouken at 7/17/2006 3:19:37 PM PDT Subject: Re: slouken: more UTF-8 marker issue in TOC |
| |
This is fixed for 1.12, thanks!
|
| | http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=414970&p=#post416308 |