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 someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is 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 History Action Size Date Who Comment
JPEGjpg chinese_form.JPG r1 manage 4.1 K 2006-04-07 - 06:07 UnknownUser a simple form with chinese content
Texttxt chinse_test_char.txt r1 manage 0.1 K 2006-04-07 - 06:08 UnknownUser chinese characters for test
Compressed Zip archivezip configure.htm.zip r1 manage 29.4 K 2006-04-07 - 06:09 UnknownUser twiki configure of my server
JPEGjpg form_edit_error.JPG r1 manage 14.9 K 2006-04-07 - 06:06 UnknownUser broken chinese characters when edit
Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r5 - 2007-02-07 - ThYang
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.