I cannot Enter Chinese title in wiki inside gitlab
Closed
I cannot Enter Chinese title in wiki inside gitlab
Created by: jw2007like
I cannot Enter Chinese title in wiki inside gitlab.
I was a programmer in mainland China. My mother language is Chinese.
Our team is migrating from svn to git. Many colleagues are learning git. I try to use gitlab set up a git server. I found a problem, is wiki system inside gitlab, can not enter the Chinese title. For example, I wanted to write a "How to setup” document. How to setup in Chinese is “如何安装”。
3.I can write English title in wiki inside gitlab.
1.I use wiki in http://bitbucket.org/。enter Chinese title. It works.
2.wiki system in bitbucket.org .Enter Chinese title.It works.
question
I use gitlab version 5.0.How can I enter Chinese title in wiki inside gitlab?
Created by: bbodenmiller
Is this still a problem in 5.2? Thanks for the issue report. Please reformat your issue to conform to the issue tracker guidelines found in our contributing guidelines.
By Administrator on 2013-06-12T01:10:03 (imported from GitLab project)
Created by: fancyoung
@Razer6 yes, all tables are UTF-8. env: 6.6-stable.
It's caused by routes constraints,
{id: /[a-zA-Z.0-9_\-]+/}
, it not support other UTF-8 characters. I did a hack, change it into{id: /[^ \t\r\n\f\/]+/}
, then I can create a wiki, but there are other problem, some pages(wikis list, and delete function) show500 Encoding Error. Page can't be loaded because of an encoding error.
I also tried
\p{L}
,\p{han}
, but I don't know why it doesn't work.By Administrator on 2014-03-19T01:45:22 (imported from GitLab project)
Created by: Joe-Sun
same issue for Chinese on 7.0. Like what @fancyoung did, I changed the route constraints, so I could click "+new page" button and begin to write the content. But when I finished and clicked "create page", I got "500 Encoding Error. Page can't be loaded because of an encoding error."
By Administrator on 2014-07-17T08:19:33 (imported from GitLab project)