Fossil SCM
Wiki edit textarea display and Wiki name does not support non-ASCII word
Fixed
0a0f00d43479467…
· opened 17 years, 4 months ago
- Type
- Feature_Request
- Priority
- —
- Severity
- Important
- Resolution
- Fixed
- Subsystem
- —
- Created
- Dec. 7, 2008 8:37 a.m.
If I create a wiki page named with non-ASCII name.I got the following information:
The wiki name "一千零一夜" is not well-formed. Rules for wiki page names: * Must not begin or end with a space. * Must not contain any control characters, including tab or newline. * Must not have two or more spaces in a row internally. * Must be between 3 and 100 characters in length.
At the same time if I write wiki using non-ASCII character, and then edit it.All non-ASCII character escape with &#+code,that's not the original character edited.
you can see the later from the sandbox's last item.
kkinnell added on 2009-01-29 18:43:27:
This is probably also what [cc6557cfc5] relates to.
anonymous added on 2009-02-05 15:55:33:
This issue mainly focuses on how to treat the c character type,either char or unsigned char. In function 'wiki_name_is_wellformed', I convert the parameter to unsigned char before comparing, then the wiki name goes fine.
anonymous added on 2009-02-05 16:00:01:
And the variable 'c' in function 'EncodeHttp' is the same issue.
ron added on 2010-01-24 07:14:22:
Fixed in [afe70a464686a3085141c03a1aee3eceb598ddd8]