Well, just learned how to read a file (ANSI format) and I'm now trying to do the same with another file that is saved in an unicode format and it fails.
This comes for our dictionary. We have descriptions also in russian language and this needs unicode to work.
I need to read a line (one by one until end of file) and split it to different translations (according to a field separator).
I would appreciate an example project if anybody could give such?
Any explanations that would help to understand this?
Our dictionary in unicode format is something like this:
dictionary.txt :
* separator in the end of first line
* tabulators to be cleaned between columns
* comments begins with ' in the begin of a line
set separator »
'Suomi »English »Russian »OtherLanguages
'------------------------------
'---COMMENTS--- »
'------------------------------
Adapteri »Adapter »Adapterinrussian »Othertext1
Akseli »Shaft »Shaftinrussian »Othertext2
Magneetti »Magnet »Magnetinrussian »Othertext3
etc...
SolidworksApi macros