Last modified: 2012-06-26 12:33:40 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T39558, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 37558 - Default escape characterset should be UTF-8
Default escape characterset should be UTF-8
Status: UNCONFIRMED
Product: MediaWiki extensions
Classification: Unclassified
Widgets (Other open bugs)
master
All All
: Normal major (vote)
: ---
Assigned To: Nobody - You can work on this!
: i18n
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-06-13 18:21 UTC by Sven K
Modified: 2012-06-26 12:33 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Sven K 2012-06-13 18:21:57 UTC

    
Comment 1 Sven K 2012-06-13 18:27:05 UTC
Using some UTF-8 input characters like üöäÜÖÄßéèê etc. which are common on foreign language breaks with MediaWiki default UTF-8 output since the Smarty engine uses Latin1 (ISO-8859-1) per default as said on http://www.smarty.net/docsv2/en/language.modifier.escape

So this will yield unwanted behaviour:

  <!--{$foo|esacpe:'htmlall'}-->

having $foo = "FööBar" this will output rubbish. This is fixed by 

  <!--{$foo|esacpe:'htmlall':'UTF-8'}-->

on every escape usage.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links