ANSI or UTF-8?
#1
I use Notepad++ for all my skinning and just recently noticed that it's encoding in ANSI as default. While I was experimenting using font shapes I found that I had to change this to encode in UFT-8 so I could use the decimal code to display them correctly in the label code.

ie

PHP Code:
<label>&#9660;</label> 

<label>▼</label>


So the question is does this matter and what should be the default?

Thanks.
Reply
#2
both are valid and which you use is just a matter of preference. in general we use utf-8 encoding for everything.
Reply
#3
Thanks spiff.
Reply
#4
spiff Wrote:both are valid and which you use is just a matter of preference. in general we use utf-8 encoding for everything.

Ok, will use UTF8 then, too.

EDIT: Oops, wrong thead
Donate: https://kodi.tv/contribute/donate (foundation), 146Gr48FqHM7TPB9q33HHv6uWpgQqdz1yk (BTC personal)
Estuary: Kodis new default skin - ExtendedInfo Script - KodiDevKit
Reply
#5
If you use UTF8, which I'd recommend, it pays to put a UTF8 declaration at the top of the XML file so XBMC knows it's setup that way (we make some assumptions that may or may not be correct otherwise).
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply

Logout Mark Read Team Forum Stats Members Help
ANSI or UTF-8?0