Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X
Hi,
Does anyone know how to get Creo to read the correct chinese text in the default_start.mcs file
I want to check a couple of parameters that have chinese symbols but everytim modelcheck runs it converts it into some other strange font that creo thinks is a different parameter.
PRT_PARAMETER | 英文名称 STR NEQ ** ENGLISH NAME ** |
It appears correct in the text file but not when creo evaluates it.
I have tried saving the text file as UTF-8 encoding.
Ant
I have saved the default_start.mcs as UTF-8 encoding
Creo converts it to ANSI when clicking modelcheck interactive.
Problem half solved..
Add below line in config_init.mc : MC_SUPPORT_LEGACY_STRING YN N
This line now works
PRT_PARAMETER 英文名称 STR NEQ ** ENGLISH NAME **
This line does not:
PRT_PARAMETER 中文名称 STR NEQ ** CHINESE NAME **
For some reason it creo thinks these symbols 中文 are different to whats already in creo and tries to create a new parameter even though the parameter is already in the part.
Solved the problem.
Normal notepad editor didnt work.
Was using sublime text editor and changed a few encoding settings but still got stuck with some of the chinese symbols.
Went back to using Notepad++. Converted all text to Chinese simplified encoding. The converted back into UTF-8 before re-pasting the chinese symbols.
Now Creo reads the parameters correctly when running modelcheck.