View Ticket
Not logged in
Ticket UUID: 0a0f00d434794670fbe9d78894c7c963d5380caa
Title: Wiki edit textarea display and Wiki name does not support non-ASCII word
Status: Open Type: Feature_Request
Severity: Important Priority:
Subsystem: Resolution: Open
Last Modified: 2009-02-05 16:00:01
Version Found In: f84bfc31bf
Description & Comments:
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.