Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Double byte character problem #167

Open
ishida-crde opened this issue May 30, 2016 · 0 comments
Open

Double byte character problem #167

ishida-crde opened this issue May 30, 2016 · 0 comments

Comments

@ishida-crde
Copy link

Dear Steve,

Hello, we are using FormGen for various usages in our university.
We really like this add on program.
By the way, we have some trouble with the result of “Multi-Select field”.
For example, when we download the csv file using save adapter, the characters in the csv file were corrupt.
This phenomenon occurred for “Multi-Select field” only.
The characters in other fields, like a selection field were not corrupt, even thong we use Japanese(=double byte character).

Following is the example what we input into “Multi-selection” field and how was the result.

Input:“てすと1”,”てすと2”,”てすと3”
Output in the csv result file: ['\xe3\x81\xa6\xe3\x81\x99\xe3\x81\xa8\xef\xbc\x91', '\xe3\x81\xa6\xe3\x81\x99\xe3\x81\xa8\xef\xbc\x92', '\xe3\x81\xa6\xe3\x81\x99\xe3\x81\xa8\xef\xbc\x93']

It seems that for Japanese only “Multi-selection” field contains garbling error.
Could you give us your advice to fix this error?
At first, we asked Manabu who is the board member in Japan and then Manabu introduced us this Site.

Thank you in advance for your kindest help.

・environment

Plone 4.1.4 (4113)
CMF 2.2.5
Zope 2.13.12
Python 2.6.7 (r267:88850, Sep 10 2015, 12:50:26) [GCC 4.4.7 20120313 (Red Hat 4.4.7-16)]
PIL unknown
FormGen 1.7.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant