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
Unknown file formatJPG chinese_form.JPG manage 4.1 K 2006-04-07 - 06:07 ZhengLingxiang a simple form with chinese content
Texttxt chinse_test_char.txt manage 0.1 K 2006-04-07 - 06:08 ZhengLingxiang chinese characters for test
Compressed Zip archivezip configure.htm.zip manage 29.4 K 2006-04-07 - 06:09 ZhengLingxiang twiki configure of my server
Unknown file formatJPG form_edit_error.JPG manage 14.9 K 2006-04-07 - 06:06 ZhengLingxiang broken chinese characters when edit
Topic revision: r5 - 2007-02-07 - ThYang
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by PerlIdeas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.