On 01/26/2010 10:02 PM, rushero(a)inbox.ru wrote:
Hello, XWiki team!
i saw this topic:
http://www.xwiki.org/xwiki/bin/view/FAQ/Whenuploadtheaccessoriesatthexwiki13
versionallChinesewillbedeletedinfilename
and i have the same problem, but with russian characters.
When i'm adding the file with name, like "russian_word123.txt" - it is
adds
like "123.txt". All russian symbols are truncated. With english and numbers
- all fine.
Please help asap...
All encoding are sets t oUTF-8 and hole Xwiki don't have problem with
russian characters, except attachment thing.
I'm really need russian characters in file names, how I can get this, or
disable the truncation function???
BTW - my environment are:
XWiki Enterprise 2.1.25683
Oracle 10gR2
Thanks!
This will be fixed in XWiki 2.3.
Sorry for the inconvenience, but we had to disable non-ASCII characters
for several reasons:
http://jira.xwiki.org/jira/browse/XWIKI-2087
http://jira.xwiki.org/jira/browse/XWIKI-2090
http://jira.xwiki.org/jira/browse/XWIKI-2102
Basically, in a non-UTF-8 environment it was really hard to fix the old
TinyMCE-based WYSIWYG editor, and we also had some URL double-decoding
issues that at the moment were hard to fix. I know, being lazy is not a
good excuse, we could have invested more effort into fixing the real
issues instead of disabling non-ASCII characters, but we think that this
was the least dangerous solution with the least amount of effort, with
only a limited impact on users (since most users at that time were OK
with this approach).
As I already said, we'll try hard to have it fixed in the next release.
--
Sergiu Dumitriu
http://purl.org/net/sergiu/