Issue Details (XML | Word | Printable)

Key: XWIKI-678
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Sergiu Dumitriu
Reporter: Sergiu Dumitriu
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
XWiki Core

Extend Util.noaccents to work for non-french characters

Created: 05/Jan/07 01:29   Updated: 05/Jan/07 01:31
Component/s: Core
Affects Version/s: None
Fix Version/s: 1.0 B2

Resolution Date: 05/Jan/07 01:31


 Description  « Hide
The Util.noaccents function is intended to replace accented characters used in different languages with an ASCII-7 equivalent, like â => a, ? => t. The version up to Beta1 did this only for characters found in the french alphabet, and using a hardcoded latin-1 string.

The new version does this for most translatable unicode characters, and using the \uNNNN notation.



 All   Comments   Change History   FishEye      Sort Order: Ascending order - Click to sort in descending order
Sergiu Dumitriu added a comment - 05/Jan/07 01:31
Fixed in rev. 1879