Page 1 of 1
Error importing archives containing swedish åäö
PostPosted:Thu Feb 12, 2009 3:01 pm
by attitude
Both importing from the local filesystem and importing from a zip file results in an error if any of the files/folders have one of the swedish characters åäö.
When importing from local storage the error is OKM-013013
Explicity it says it cant find the directory.

Re:Error importing archives containing swedish åäö
PostPosted:Sat Feb 14, 2009 8:25 pm
by jllort
Which operating system are you using on OpenKM server.
Re:Error importing archives containing swedish åäö
PostPosted:Sun Feb 15, 2009 8:44 am
by attitude
Centos 5.2
Re:Error importing archives containing swedish åäö
PostPosted:Sun Feb 15, 2009 11:40 am
by jllort
Have you changed default locale configuration ? is UTF-8 ?
Re:Error importing archives containing swedish åäö
PostPosted:Mon Feb 16, 2009 7:23 am
by attitude
In OpenKM or on the operationg system level?
Re:Error importing archives containing swedish åäö
PostPosted:Mon Feb 16, 2009 7:50 am
by jllort
OpenKM inherits OS level and could have problems if you\'ve changed utf-8 language locale to other. That could be one reason to having problems with some character while importing from OS file directories.
Re:Error importing archives containing swedish åäö
PostPosted:Wed Mar 04, 2009 10:42 am
by alloydog
I have a similar problem. After reading this, I tried to upload a zipped directory, called test_öäå. The contents of the directory was a text file, named (really creatively...) öäå.txt.
OpenKM faild to import the zipped directory, with the error message:
Error imorting file
Exception: java.lang.IllegalArgumentException
When I tried to import the basic text file, it just hung for over 15 minutes with no way to cancel the operation - I had to close the browser window.
Re:Error importing archives containing swedish åäö
PostPosted:Wed Mar 04, 2009 8:00 pm
by jllort
You\'ve got UTF-8 on your locale ? or have changed to some ISO ?
Re:Error importing archives containing swedish åäö
PostPosted:Thu Mar 05, 2009 5:19 am
by alloydog
The OS locale is en_US.UTF-8
Re:Error importing archives containing swedish åäö
PostPosted:Thu Mar 05, 2009 12:13 pm
by pavila
Can you post a sample zip that fails?
Re:Error importing archives containing swedish åäö
PostPosted:Tue Mar 10, 2009 12:28 pm
by alloydog
Here you are.
The text file was created with Notepad2, and the folder was zipped with 7-Zip. [file name=___.zip size=411]
http://www.openkm.com/images/fbfiles/files/___.zip[/file]
Interesting, it seems the file import for this forum cannot handle accented letters either... neither does my usual \"back-up\" hosting service...
Re:Error importing archives containing swedish åäö
PostPosted:Mon Nov 30, 2009 6:17 pm
by MartinR
Hello,
the same problem with german umlauts, even when I try to import from Filesystem
Best regards Martin
Re:Error importing archives containing swedish åäö
PostPosted:Tue Dec 01, 2009 8:19 am
by jllort
Which OS are you using martin ?
Re:Error importing archives containing swedish åäö
PostPosted:Tue Dec 01, 2009 8:58 am
by MartinR
Hello,
Linux (Mandriva 10.2)
G_FILENAME_ENCODING=@locale
KBCHARSET=iso-8859-15
KEYBOARD=de
KEYTABLE=de-latin1
LANG=de_DE.UTF-8
LANGUAGE=de_DE.UTF-8:de
LC_ADDRESS=de_DE.UTF-8
LC_COLLATE=de_DE.UTF-8
LC_CTYPE=de_DE.UTF-8
LC_IDENTIFICATION=de_DE.UTF-8
LC_MEASUREMENT=de_DE.UTF-8
LC_MESSAGES=de_DE.UTF-8
LC_MONETARY=de_DE.UTF-8
LC_NAME=de_DE.UTF-8
LC_NUMERIC=de_DE.UTF-8
LC_PAPER=de_DE.UTF-8
LC_SOURCED=1
LC_TELEPHONE=de_DE.UTF-8
LC_TIME=de_DE.UTF-8
Martin