Kodi Community Forum

Full Version: ANSI or UTF-8?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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.
both are valid and which you use is just a matter of preference. in general we use utf-8 encoding for everything.
Thanks spiff.
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
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).