Welcome! Log In Create A New Profile

Advanced

Re: server side include, UTF-8 problem

July 23, 2009 03:38PM
On Thu, 2009-07-23 at 21:14 +0200, Marcin Operacz wrote:
> Hello,
>
> We have some problems with server side including of UTF-8 files, can
> you please confirm that this is impossible to make nginx include UTF-8
> text files (the ones that have 'ef bb bf' on the first 3 chars of the
> file)?

Just for clarification, that's known as a BOM (byte order mark). It's
(sometimes) allowed but definitely not needed for UTF-8, and as noted
below, can cause issues for some software:

http://unicode.org/faq/utf_bom.html#bom5

> If this is possible please give me some advice on what should I
> look to make this work.

No idea if it is expected to work in Nginx or not. Perhaps the easiest
solution would be to edit the files in something that doesn't generate
the BOM.

Regards,
Cliff

--
http://www.google.com/search?q=vonage+sucks
Subject Author Posted

server side include, UTF-8 problem

Marcin Operacz July 23, 2009 03:14PM

Re: server side include, UTF-8 problem

mike July 23, 2009 03:27PM

Re: server side include, UTF-8 problem

Cliff Wells July 23, 2009 03:38PM

Re: server side include, UTF-8 problem

Maxim Dounin July 23, 2009 03:48PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 115
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready