[Openstack] Openstack swift charset problem

mehmet hacısalihoğlu esedmehmet at gmail.com
Mon Apr 6 08:37:40 UTC 2015


Thanks Samuel,

I researched and windows send request with win1254 charset. So, I need
to change
win1254 to utf-8 character set in windows. Thank you for your help.

Regards.

2015-04-03 21:29 GMT+03:00 Samuel Merritt <sam at swiftstack.com>:

> On 4/3/15 1:42 AM, mehmet hacısalihoğlu wrote:
>
>> Hi All,
>>
>> When I request send to create pseudo folder with turkish characters in
>> windows, I get error message "Invalid UTF8 or contains NULL".
>>
>> curl -i -X PUT http://1X.XX.XXX.XX/v1/AUTH_test/test/çöçö
>> <http://1x.xx.xxx.xx/v1/AUTH_test/test/%C3%A7%C3%B6%C3%A7%C3%B6>
>> <http://1x.xx.xxx.xx/v1/AUTH_test/test/%C3%A7%C3%B6%C3%A7%C3%B6> -H
>> "Content-Type: application/directory" -H "Content-Length: 0" -H
>> "X-Auth-Token: abc12345"
>> *HTTP/1.1 412 Precondition Failed*
>> Content-Length: 29
>> Content-Type: text/html; charset=UTF-8
>> Date: Fri, 03 Apr 2015 08:26:26 GMT
>>
>> How can I solve this problem?
>>
>
> 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.
>
> _______________________________________________
> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/
> openstack
> Post to     : openstack at lists.openstack.org
> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/
> openstack
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20150406/34307c9a/attachment.html>


More information about the Openstack mailing list