Tags:
create new tag
view all tags
(Early bug report for Mozilla URL encoding issue, originally thought to be MacOS X related - now solved through fixes that make Mozilla work with TWiki I18N on all platforms.) -- RD

Tested the Dec 1 TWikiAlphaRelease with Mozilla 1.2 OS X and it seems like a good start with great ambition. This is one key obstacle to more general use of TWiki in our office. Given that the code is in alpha stage, most of it did not work. Since many people might have problems writing the characters on the keyboard and not having access to a system running a foreign version of an OS, I thought I'd include some detailed descriptions. Richard, if you can test and see things displayed in this way in your environment, just let me know and I'll skip dumps and details in the future.

  • When editing the link FårFårFår (or the left part of it that is highlighted) I get the following URL:s and WikiWord displays through the process:
State WikiWord display URL
Editing FårFå (ok) http://localhost/twiki/bin/edit/Sandbox/F%E5rF%E5?topicparent=Sandbox.TestTopic1
Previewing FÃ¥rFÃ¥ (garbled) http://localhost/twiki/bin/preview/Sandbox/F%C3%A5rF%C3%A5
Viewing saved FÃ?Â¥rFÃ?Â¥ (garbled twice) http://localhost/twiki/bin/view/Sandbox/F%C3%83%C2%A5rF%C3%83%C2%A5

-- StefanLindmark - 02 Dec 2002

Thanks for testing this and providing such a detailed report - the table is particularly useful, and screenshots are good too if you can do them. A public test server would be even better if you have one smile

-- RichardDonkin - 03 Dec 2002

I've done some more fixes, this time to ensure that all URLs used in POST form submissions have any 8-bit characters URL-encoded (in 4 templates only, including edit and preview). This works around a problem with MozillaBrowser 1.1 (Windows) and 1.2 (MacOS X) whereby such URLs would otherwise be UTF8 encoded, breaking the preview/save cycle.

There are now two new variables, %WEBURLENCODED% and %TOPICURLENCODED% - these should be used in any URLs that are used as part of a <form ... post...  > form element, instead of %WEBURL% and %TOPIC%. This only affects a few templates, and is only relevant for people who want their skins to support internationalised WikiWords.

See TWikiAlphaRelease for the latest version, I have re-built the alpha zip file.

-- RichardDonkin - 04 Dec 2002

Quite a lot of fixes for Mozilla issues added - all form templates in TWikiAlphaRelease should now work with Mozilla. If you are testing this alpha, note that the TWiki.WebSearch page requires updating as well, so that the two FORM elements use the new %INCLUDINGWEBURLENCODED% variable to avoid the URL being UTF8 encoded. This allows searching in webs that have 8-bit names - see this example.

I18N searching and sorting of topic names is now fully working, including WebTopicList, and webs with 8-bit names can be created via TWiki.ManageWebs.

The alpha Zip/tar.gz files are up to date with CVS as of this comment.

-- RichardDonkin - 05 Dec 2002

This was fixed through use of %INTURLENCODE% to encode all form action URLs, as well as Edit URLs, which bypasses Mozilla's automatic UTF-8 encoding of such URLs (but not other URLs...) The end result is that the URL is 'hard coded' to the character encoding used in the TWiki page.

This has caused problems with TWikiOnMainframe and is generally not a good idea so it will eventually be disabled as part of ProposedUTF8SupportForI18N. Skin authors who have used %INTURLENCODE% as recommended in InternationalisingYourSkin won't be affected.

-- RichardDonkin - 22 Sep 2003

ProposedUTF8SupportForI18N phase 1 is now complete, so %INTURLENCODE% is no longer required in any skin.

-- RichardDonkin - 14 Feb 2004

Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r6 - 2004-02-14 - RichardDonkin
 
  • 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.