﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	uname	nginx_version
1433	WebDAV module didn't convert UTF8 encode url into GBK on Windows	ztyzbb@…		"I'm using Nginx as a static resource server on Windows 10. And I use php_curl to transfer file from Apache to Nginx by HTTP PUT method. When URL include Chinese in UTF8 codec like ""/0/%E6%B5%B7%E6%8A%A5%E8%83%8C%E6%99%AF.jpg"", the WebDAV just create a file with the UTF-8 string. But Windows use GBK to store Chinese file name. So the UTF-8 string was used as a GBK string without conversion, which lead to an incorrect name on Windows like 海报背景.jpg(correct) => 娴锋姤鑳屾櫙.jpg(incorrect).
If I use GBK encode URL ""/0/%BA%A3%B1%A8%B1%B3%BE%B0.jpg""(same as the UTF-8 one in Chinese), every thing works fine, the file name on Windows is correct.
If I try to GET the GBK encode URL, the Nginx return 500 with error log: 1113: No mapping for the Unicode character exists in the target multi-byte code page. And if I use the UTF-8 encode URL, it works fine. So I can figure out the Nginx handle the GET method with a codec conversion, but PUT method not, maybe other WebDAV method not as well."	defect	closed	minor		nginx-module	1.12.x	fixed	WebDAV win32		Microsoft Windows [版本 10.0.15063]	nginx version: nginx/1.12.1
