TT and UTF8?

Joel Bernstein joel at fysh.org
Fri Jan 29 15:41:20 GMT 2010


On 29 January 2010 15:25, Dave Hodgkinson <davehodg at gmail.com> wrote:
>
> On 29 Jan 2010, at 14:48, Ash Berlin wrote:
>
>> 2) stick a BOM in the .tt file
>>
>
> BOM?

U+FEFF - unicode codepoint used to indicate endianness in encodings
where word length is not single octet multiples.

http://en.wikipedia.org/wiki/Byte_order_mark

Even if your template content is UTF-8 (which has no endianness
issues) it's still the simplest way to definitively mark your content
as Unicode.

/joel


More information about the london.pm mailing list