teamFetch giving unknown encoding errors on new machine
We use the teamFetch ANT task (and the teamAccept task) to download code from the repository to a Windows machine. This has been working for quite a while.
We got a new machine and when we try to run the teamFetch on the new machine we get unknown encoding messages and unable to convert platform line delimiters. This is happening on our Korean, Japanese, and Chinese XML files.
I don't see how the new machine setup is different from the original. What should I be looking for?
I was able to install RTC on the machine and use the GUI to load the repository without any errors.
I have included a sample below.
Thanks,
Eric Simpson
Status ERROR: com.ibm.team.filesystem.client code=0 There were errors during download. It is recommended that components be reloaded. The reload will be incremental, loading only the missing items. You can further reduce the reload time by reloading just the projects out of sync. null children=[Status ERROR: com.ibm.team.filesystem.client code=0 Failed to download /com.ibm.etools.iseries.ilecbl.doc.nl1/nl/ko/evfb4cod02.xml due to unknown encoding euc-kr. Team should agree on a common encoding. com.ibm.team.repository.common.TeamRepositoryException: CRJAZ0036I Unable to convert platform line delimiters: euc-kr
We got a new machine and when we try to run the teamFetch on the new machine we get unknown encoding messages and unable to convert platform line delimiters. This is happening on our Korean, Japanese, and Chinese XML files.
I don't see how the new machine setup is different from the original. What should I be looking for?
I was able to install RTC on the machine and use the GUI to load the repository without any errors.
I have included a sample below.
Thanks,
Eric Simpson
Status ERROR: com.ibm.team.filesystem.client code=0 There were errors during download. It is recommended that components be reloaded. The reload will be incremental, loading only the missing items. You can further reduce the reload time by reloading just the projects out of sync. null children=[Status ERROR: com.ibm.team.filesystem.client code=0 Failed to download /com.ibm.etools.iseries.ilecbl.doc.nl1/nl/ko/evfb4cod02.xml due to unknown encoding euc-kr. Team should agree on a common encoding. com.ibm.team.repository.common.TeamRepositoryException: CRJAZ0036I Unable to convert platform line delimiters: euc-kr
2 answers
Based on the error message, it looks like the JRE on that machine is missing the euc-kr encoding. Check which JRE you're using -- is it the one that shipped RTC, or does your command line or TeamConcert.ini point to some other one? If neither specifies a VM, check which one you get by default by running: java -version.
If you're using multiple locales, we recommend setting the default encoding to UTF-8 (via Window > Preferences > General/Workspace).
If you're using multiple locales, we recommend setting the default encoding to UTF-8 (via Window > Preferences > General/Workspace).