Thanks a lot for help.
I'm not using
xwiki.org for tests (but now I do understand why cyrillic letters
disappear on
xwiki.org :-)
All test were done on standalone XWiki 3.1 on Windows. A don't have a clue how to
check encodings in there: Admin.Tools configuration check failed to run, but cyrillic
space names and page names works fine, despite of the facts described below.
All test were done once more on Glassfish+MySQL+XWiki 3.1 with exactly the same results.
Cyrillic space names and page names works fine, despite of the facts described below
also.
XWiki: Admin.Tools configuration check says following:
General db settings
MYSQL encoding setting character_set_client: utf8mb4
MYSQL encoding setting character_set_connection: utf8mb4
MYSQL encoding setting character_set_database: utf8
MYSQL encoding setting character_set_filesystem: binary
MYSQL encoding setting character_set_results:
MYSQL encoding setting character_set_server: utf8
MYSQL encoding setting character_set_system: utf8
General db collation settings
MYSQL collation setting collation_connection: utf8mb4_general_ci
MYSQL collation setting collation_database: utf8_general_ci
MYSQL collation setting collation_server: utf8_general_ci
MySQL connector is set "inside" XWiki (not present in Glassfish)
Glassfish URI Encoding is set to UTF-8
That's everything I understand, what you advised me to check.
Best Regards,
Dmitry Bakbardin
12 сентября 2011, 10:32 от Vincent Massol <vincent(a)massol.net>et>:
>
> On Sep 12, 2011, at 5:05 AM, Haru Mamburu wrote:
>
> > Dear Users,
> >
> > I found bug with cyrillic letters in velocity Scripting. Does it happen only
with cyrillic?
> >
http://jira.xwiki.org/browse/XWIKI-6955
> >
> > Something similar was found in this extention
http://extensions.xwiki.org/xwiki/bin/view/Extension/Extract+Wikipedia+Arti…
> > I wrote a comment to the page. Should I report it as a bug, or its not supported
by XWiki development team?
>
> It's simply that xwiki.org's DB is currently configured in iso 8859-1 instead
of UTF8 AFAIK.
>
> Are you sure **all** your subsystems are correctly configured in UTF8:
> - your servlet container
> - your database
> - your xwiki instance
> ?
>
> > Cyrillic users would be unhappy if scripting has such "other
languages" limitations. :-(
> > Is it possible to fix this somehow?
>
> Yes see above.
>
> Thanks
> -Vincent
>
> >
> > As to: http://jira.xwiki.org/browse/XWIKI-6955
> > Same Script again. The question is:
> >
> > If you enter "Smith John" in the input field, script creates page
"SmithJohn". Is it possible somehow to keep the space mark between Last name and
first name in the page name after script?
> >
> > Thanks in advance
> >
> > Dmitry Bakbardin
>