POV-Ray : Newsgroups : povray.off-topic : The trouble with XSLT : Re: The trouble with XSLT Server Time
29 Jul 2024 16:19:00 EDT (-0400)
  Re: The trouble with XSLT  
From: Orchid Win7 v1
Date: 22 Feb 2012 16:28:49
Message: <4f455e11$1@news.povray.org>
>>> Ah, so your /real/ problem is a crappy text editor.
>>
>> The /real/ problem is that there is no way of knowing what encoding a
>> given text file has. So it's not safe to use non-ASCII characters in a
>> text file. Which is why character entities were invented in the first
>> place...
>
> Use an editor that places a BOM at the start of UFT-8 files and bob's
> your uncle.

In other words, "there is this informal undocumented /convention/ that 
if a file starts with a BOM [even though UTF-8 does not require such a 
mark, since there /is/ no byte order], then it is presumed to contain 
UTF-8".

I wonder how widely implemented this undocumented feature is?


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.