<div dir="ltr"><div><div>Thanks Samuel,<br><br></div>I researched and windows send request with win1254 charset. So, I<span id="result_box" class="" lang="en"><span class=""> need to</span> <span class="">change win1254 to utf-8</span> <span class="">character set in windows. Thank you for your help.<br><br></span></span></div><span id="result_box" class="" lang="en"><span class="">Regards.<br></span></span></div><div class="gmail_extra"><br><div class="gmail_quote">2015-04-03 21:29 GMT+03:00 Samuel Merritt <span dir="ltr"><<a href="mailto:sam@swiftstack.com" target="_blank">sam@swiftstack.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 4/3/15 1:42 AM, mehmet hacısalihoğlu wrote:<br>
</span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
Hi All,<br>
<br>
When I request send to create pseudo folder with turkish characters in<br>
windows, I get error message "Invalid UTF8 or contains NULL".<br>
<br>
curl -i -X PUT <a href="http://1x.xx.xxx.xx/v1/AUTH_test/test/%C3%A7%C3%B6%C3%A7%C3%B6" target="_blank">http://1X.XX.XXX.XX/v1/AUTH_<u></u>test/test/çöçö</a><br></span>
<<a href="http://1x.xx.xxx.xx/v1/AUTH_test/test/%C3%A7%C3%B6%C3%A7%C3%B6" target="_blank">http://1x.xx.xxx.xx/v1/AUTH_<u></u>test/test/%C3%A7%C3%B6%C3%A7%<u></u>C3%B6</a>> -H<span class=""><br>
"Content-Type: application/directory" -H "Content-Length: 0" -H<br>
"X-Auth-Token: abc12345"<br></span>
*HTTP/1.1 412 Precondition Failed*<span class=""><br>
Content-Length: 29<br>
Content-Type: text/html; charset=UTF-8<br>
Date: Fri, 03 Apr 2015 08:26:26 GMT<br>
<br>
How can I solve this problem?<br>
</span></blockquote>
<br>
Swift object names must be valid UTF-8 strings. Whatever bytes you're sending for the object name are not valid UTF-8; they look like UTF-16 to me. It's probably a matter of fixing your terminal settings.<br>
<br>
______________________________<u></u>_________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/<u></u>cgi-bin/mailman/listinfo/<u></u>openstack</a><br>
Post to     : <a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/<u></u>cgi-bin/mailman/listinfo/<u></u>openstack</a><br>
</blockquote></div><br></div>