We relaunched the TWiki.org project with an expanded TWiki charter, and we invite you to participate! The TWiki.org Code of Conduct agreement took effect on 27 Oct 2008. We ask existing twiki.org users to opt-in. You need to opt-in to participate in the Blog, Codev, Plugins and TWiki webs. -- PeterThoeny - 27 Oct 2008
You are here: TWiki> Support Web>EditChineseFormTextInUTF8 (07 Feb 2007, ThYang)
Tags:
create new tag
, view all tags

Question

I have configured TWiki to support utf-8. Everything works fine expect that the chinese text may break when edit an existed page with chinese content in a form. I create a topic including a very simple form and save the chinese text in the form. The chinese text can display normally after saved.
a simple form with chinese content
But when I edit this topic, some chinese characters in the form are broken. The broken chinese character changed to another chinese character and following an encoded character in "#nnnn;" format.
broken chinese characters when edit
Related pages: Bugs:Item2032
Sorry for add new support page. I cannot edit the bug page.

Environment

TWiki version: TWikiRelease04x00x00
TWiki plugins: disabled all Plugins
Server OS: RedHat? Linux AS4
Web server: apache 2.2.0
Perl version: 5.8.5
Client OS: windows xp
Web Browser: ie 6.0
Categories: Forms, Internationalisation

-- ZhengLingxiang - 07 Apr 2006

Answer

ALERT! If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box.

Thanks for reporting, is carried over to Bugs:Item2032.

FYI, the login credentials are regularily copied from twiki.org to develop.twiki.org. Once this is done you will have access to the Bugs web.

-- PeterThoeny - 07 Apr 2006

See my comment on Bugs:Item2032 - I have some suggestions for debugging and possible workaround.

-- RichardDonkin - 08 Apr 2006

My patch in Bugs:Item2032 worked OK, so this is now closed. Needs to be committed to DevelopBranch though.

-- RichardDonkin - 12 Apr 2006

TWiki 4.1.1 also has the same issue. The patch in Bugs:Item2032 worked fine.

-- ThYang - 07 Feb 2007

 

Topic attachments
I Attachment Action Size Date Who Comment
jpgJPG chinese_form.JPG manage 4.1 K 07 Apr 2006 - 06:07 ZhengLingxiang a simple form with chinese content
txttxt chinse_test_char.txt manage 0.1 K 07 Apr 2006 - 06:08 ZhengLingxiang chinese characters for test
zipzip configure.htm.zip manage 29.4 K 07 Apr 2006 - 06:09 ZhengLingxiang twiki configure of my server
jpgJPG form_edit_error.JPG manage 14.9 K 07 Apr 2006 - 06:06 ZhengLingxiang broken chinese characters when edit
Topic revision: r5 - 07 Feb 2007 - 02:19:08 - ThYang
Support.EditChineseFormTextInUTF8 moved from Support.EditExistedFormTextInUtf8 on 12 Apr 2006 - 10:24 by RichardDonkin - put it back
 
TWIKI.NET
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback