Welcome! Log In Create A New Profile

Advanced

charset_map don't support cp936?

January 05, 2011 11:39PM
My Nginx/Windows 0.8 running win2003 chinese edition.

My files named used chinese. like http://localhost/中文目录/中文文件.rar 。

If use IE and firefox with encode gb2312 you can downloaded chinese named files,but if use utf-8 you can't download any chinese named files.

I think use the charset_map mappings gb2312 code to reencode to utf-8,but charset_map do not support cp936.

set charset utf-8 no help....

my mapping file,like.

charset_map gb2312 utf-8 {
8140 4E02 ; #CJK UNIFIED IDEOGRAPH
8141 4E04 ; #CJK UNIFIED IDEOGRAPH
8142 4E05 ; #CJK UNIFIED IDEOGRAPH
8143 4E06 ; #CJK UNIFIED IDEOGRAPH
8144 4E0F ; #CJK UNIFIED IDEOGRAPH
8145 4E12 ; #CJK UNIFIED IDEOGRAPH
8146 4E17 ; #CJK UNIFIED IDEOGRAPH
8147 4E1F ; #CJK UNIFIED IDEOGRAPH
8148 4E20 ; #CJK UNIFIED IDEOGRAPH
8149 4E21 ; #CJK UNIFIED IDEOGRAPH
814A 4E23 ; #CJK UNIFIED IDEOGRAPH
...................

}

Please help me,thanks.
Subject Author Posted

charset_map don't support cp936?

ruyi7952 January 05, 2011 11:39PM

Re: charset_map don't support cp936?

ruyi7952 January 06, 2011 12:55AM

Re: charset_map don't support cp936?

Maxim Dounin January 06, 2011 02:24AM

Re: charset_map don't support cp936?

ruyi7952 January 06, 2011 08:45PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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