• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Item5530: Wyiswyg is totally not working with non-English text in iso-8859-1

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Engine   Urgent Closed   patch  

Edit Form Data

Summary:
Reported By:
Codebase:
Applies To:
Component:
Priority:
Current State:
Waiting For:
Target Release:
Released In:
 

Detail

After the fix for Item4946 writing non-English in iso-8859-1 is totally broken.

All you have to do is create a topic. Save it. Open it in the raw editor. Write some text like ...

"Danmarks måske kommende statsminister Lars Løkke Rasmussen er ikke så indlysende en kandidat til posten som for blot et par uger siden, skriver Morgenavisen Jyllands-Posten."

and save.

And then edit the topic in the Wysiwyg editor. It seems the Wysiwyg code still converts to utf-8even though I have set TWiki to run iso-8859-1.

-- TWiki:Main/KennethLavrsen - 13 Apr 2008

This is really wierd, because it was working yesterday.

Anyway, it emerges that the particular string you were using highlighted the problem, which is good. What happens is that the string is stored in the textarea on the browser in the site charset, but when it is sent back to the server in an XmlHttpRequest, it is run through encodeURIComponent first (the recommended procedure). What I didn't realise was that this function UTF-8 encodes the string, so that it needs to be converted back to the site charset on the server.

-- CrawfordCurrie - 13 Apr 2008

Works much better now.

Closing (bug never exposed in a release so no need to add it to release note)

-- TWiki:Main/KennethLavrsen - 13 Apr 2008

ItemTemplate
Summary Wyiswyg is totally not working with non-English text in iso-8859-1
ReportedBy TWiki:Main.KennethLavrsen
Codebase

SVN Range TWiki-5.0.0, Thu, 03 Apr 2008, build 16612
AppliesTo Engine
Component

Priority Urgent
CurrentState Closed
WaitingFor

Checkins TWikirev:16655 TWikirev:16656
TargetRelease patch
ReleasedIn

Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r5 - 2008-04-13 - KennethLavrsen
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback