Unable to Import User or Group CSV Containing Non-ASCII Characters

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

症状

When importing a csv containing non-ascii characters, the sample row will be blank, or the import may fail. 

These errors may be present in the log:

ERROR [crowd.importer.config.CsvConfiguration] (startline 1)eof reached before encapsulated token finished
java.io.IOException: (startline 1)eof reached before encapsulated token finished

原因

Crowd is being started as a service, and is not picking up the UTF8 encoding setting, as per this bug. Default system encoding is therefore being used, and causing the import to fail.

回避策

1) Stop Crowd
2) On the Crowd server, open a command prompt in the <CROWD-INSTALL>/apache-tomcat/bin/ directory
3) Execute this command - tomcat6 //US//Crowd ++JvmOptions="-Dfile.encoding=UTF8" where 'Crowd' is the name of your Crowd service.
4) Restart Crowd
5) Try the import again

最終更新日: 2012 年 2 月 21 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.