Home
Reply
Contributor
robc
Posts: 21

Support for umlant chars

Hi,

 

We use the Interop component based API to read and write V5 data (currently on R20), the question is

that we have some data with German umlant charactors in, and both Catia5 application and the spatial

API do not appear to support file names with these charactors in.

 

The questions are :

 

1) is there any options for supporting these charactors ?

 

2) would a PC installed for the German language ? support them ? if so what do I need to do to simuate this ?

 

Many thanks

 

Rob Cox

Spatial Employee
Cricket
Posts: 1

Re: Support for umlant chars

[ Edited ]

Hi Rob,

 

InterOp will do its best to work with localized file paths based on standard internationalization conventions (see http://doc.spatial.com/index.php/InterOp:Connect/Using_Samples#Working_with_Localized_File_Paths, http://doc.spatial.com/index.php/InterOp:Connect/Translation_Basics#Wide_Character_Processing and http://doc.spatial.com/index.php/InterOp:Connect/Options/Common_Options_Detailed#EnableWideCharacter for more information). In the case of localized Catia V5 file paths we are limited by the capabilities of Catia V5 itself, which you have discovered. In general, Catia V5 will work with localized file paths under the rules for Multibyte Character Set (MBCS) processing.

 

First make sure your application's locale is set up to use the system's locale rather than the "C" locale. If that does not solve your issues, then you will need to set your system's locale to German in order to correctly process filenames with umlaut characters. To do this, go to your system's Control Panel and open the Regional and Language Options properties dialog. From there go to the "Advanced" tab and select "German" from the dropdown menu under the "Language for non-Unicode programs" section. This will get you the language processing you are looking for. In addition, you can set up the number processing for German by going to the "Regional Options" tab and selecting "German" from the dropdown menu under the "Standards and formats" section.

 

I hope this helps to resolve your issues. Please let me know if you need any additional assistance.

 

Best regards,

 

Leah

Contributor
robc
Posts: 21

Re: Support for umlant chars

Thanks for you prompt reply.

 

I attempted to configure my machine as you suggested but still had issues, I attach some log files and sample V5 data with umlant chars in their names.

 

It could be that I missed something, but we have users in Germany with similar issues.

 

I will open a formal support call to progress this. (but feel free to help me some more !)

 

Thanks again