Pierre-Marie Baty
October 22, 2010 04:28AM
----------------------------------------
> From: edhoprima@gmail.com
> Date: Fri, 22 Oct 2010 07:37:59 +0700
> To: nginx@nginx.org
> Subject: Re: nginx doesn't handle different URL encodings well
>
> On Fri, Oct 22, 2010 at 4:09 AM, Pierre-Marie Baty wrote:
> >
> >
> > Thanks for the tip. I followed your advice and tried many locale combinations today.
> >
> > Unfortunately none of them helped. I can't use UTF-8 as locale because FreeBSD's FFS has no support for multibyte filenames. So if I want the system "ls" command to output "été-2008.jpg" and not something weird, I have to use one of the 8-bit locales. Currently my LANG is fr_FR.ISO8859-15 (same as Latin-1 plus the €uro sign).
> >
>
> except that I tried that in FreeBSD too.
>
> To get proper ls output with utf-8 filename you have to:
> - ensure the filename is in utf-8
> - ensure shell locale is set to utf-8
> - ensure terminal locale is set to utf-8
>
> One incorrect locale in the chain and you will get broken result.


Could you clarify the last two points for me ?

I use this in /etc/profile (my shell is bash):

export LANG=fr_FR.UTF-8
export MM_CHARSET=UTF-8

According to the handbook there is no need to set LC_ALL and LC_CTYPE.
And my terminal is a ssh session (putty), thus I suppose I don't need to edit /etc/ttys.

Am I missing something ? Could you show me your env or tell me what else I need to change ? It would help a lot. Thank you.


--
Pierre-Marie Baty

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

nginx doesn't handle different URL encodings well

Pierre-Marie Baty October 20, 2010 09:28PM

Re: nginx doesn't handle different URL encodings well

helen October 20, 2010 09:57PM

Re: nginx doesn't handle different URL encodings well

helen October 20, 2010 10:32PM

Re: nginx doesn't handle different URL encodings well

Maxim Dounin October 21, 2010 03:34AM

RE: nginx doesn't handle different URL encodings well

Pierre-Marie Baty October 21, 2010 10:32AM

Re: nginx doesn't handle different URL encodings well

Maxim Dounin October 21, 2010 11:16AM

Re: nginx doesn't handle different URL encodings well

edogawaconan October 21, 2010 12:52PM

RE: nginx doesn't handle different URL encodings well

Pierre-Marie Baty October 21, 2010 05:14PM

Re: nginx doesn't handle different URL encodings well

Maxim Dounin October 21, 2010 07:28PM

Re: nginx doesn't handle different URL encodings well

edogawaconan October 21, 2010 08:44PM

RE: nginx doesn't handle different URL encodings well

Pierre-Marie Baty October 22, 2010 04:28AM

RE: nginx doesn't handle different URL encodings well

Pierre-Marie Baty October 22, 2010 05:34AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 191
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