[ 
https://issues.apache.org/jira/browse/COUCHDB-760?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

He Shiming updated COUCHDB-760:
-------------------------------

    Attachment: couchdb_760.patch

This patch is made against rev#1067070, to couch_httpd_db.erl . It provides a 
workaround to solve the problem of being unable to use Cyrillic, Chinese (etc) 
characters as attachment names.

The implementation is actually not accurate. Due to the nature of a 
variable-width encoding like UTF-8, testing could be difficult. Provided patch 
is only a simplified version that rules out absolutely unusable characters, and 
minimizes modification.

> Put attachments with cyrillic names is fail.
> --------------------------------------------
>
>                 Key: COUCHDB-760
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-760
>             Project: CouchDB
>          Issue Type: Bug
>          Components: Database Core
>    Affects Versions: 0.11
>         Environment: Distributor ID:  Ubuntu
> Description:  Ubuntu 9.10
> Release:      9.10
> Codename:     karmic
>            Reporter: Antonio
>              Labels: attachments
>         Attachments: couchdb_760.patch
>
>
> I try upload any file with cyrillic name(like Колян.txt) and its fail 
> i try with futon.
> And create test http://friendpaste.com/WrVoFIOZb3T5r70Fz8XWB (see line 22):
> this test is fail with # Exception raised: 
> {"error":"bad_request","reason":"Attachment name is not UTF-8 encoded"}

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to