#2071 - Some characters, such as quotations, don't get rendered properly via. lang

This is a spacer post for a website comment topic. The content this topic relates to: #2071 - Some characters, such as quotations, don't get rendered properly via. lang
Misunderstanding of character sets. Unicode characters cannot display if not unicode.
Checking the LANG files shows they are not unicode; there are valid quotations in the LANG file. However, when passed through the templates etc, they show up with these random characters.

I'm wondering if maybe the LANG file itself needs converted to UTF8 even if it looks to already be in that format.
A file isn't necessarily unicode or not, it is a stream of bytes. There is a system called "byte order mark" which some editors use to say if a file is unicode or not, but you can have unicode characters (multi-byte) characters in files without that mark.

The characters here are not regular quote marks, they are the left/right leaning quotes, which are not in the Western European character set.

We use some of these by reference to their HTML entities in the default language files, but we never use the characters directly because the default pack is not unicode.
0 guests and 0 members have recently viewed this.