Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Item12444: HTML::Entities::_decode_entities assumes that the target s…
…tring is unicode, and will expand all entities. However some entities are not representable by a single character in the default charset, so we have to reduce the set of converted entities to just those that can be converted. Also, the resulting string has the entities converted as unicode characters, which have to be converted to the site charset before further steps. Note that the translator is forced to work in the site charset because it has to use Foswiki::Func, which assumes it. If it could work in unicode, this would all be a lot simpler! git-svn-id: http://svn.foswiki.org/branches/Release01x01@16736 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
- Loading branch information
CrawfordCurrie
authored and
CrawfordCurrie
committed
May 16, 2013
1 parent
7654513
commit 6cc5906
Showing
6 changed files
with
63 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters