2006-11-15, 07:16 PM
I had a question in the ZProcess sub-forum:
It's been a long time since I coded with consideration for character sets. I used to make my apps bilingual with Japanese, (although that's a double-byte character set)
I wouldn't have thought there would be any problem with swedish characters. But apparently there is.
Any string manipulation is pretty much straight-through passes, but I think there are a couple of string compares I use that convert both strings to either ucase or lcase, to make the string compare case insensitive...
Has anyone seen VB or even batch files, take a 'ä' character and convert it to a 'õ' character ?
I suspect that it's a matter of conflicting character sets, in the regional setting of the computer, and not actually a coding problem...
Any suggestions?
Thanks
Quote:Originally Posted by mcfrojd
Zprocess wount transcode the programs with the swedish charters åäö à Ãà in the filename.
When adding the line to the quene it ok.
"C:\TV INSPELNINGAR\House_20061114_16001700.mpg"
"C:\TV INSPELNINGAR\Trälen_20061114_19302000.mpg"
but when running the transcodeQ.bat file, Zprocess seems to rename the swedish charters to someting else...
2006-11-15 01:00:01 : **************************** :
2006-11-15 01:00:01 : ZProcess is started. :
2006-11-15 01:00:01 : ZProcess closes : C:\TV INSPELNINGAR\Trõlen_20061114_19302000.mpg
2006-11-15 01:00:02 : **************************** :
resulting in the mpg file wount get transcoded to avi
It's been a long time since I coded with consideration for character sets. I used to make my apps bilingual with Japanese, (although that's a double-byte character set)
I wouldn't have thought there would be any problem with swedish characters. But apparently there is.
Any string manipulation is pretty much straight-through passes, but I think there are a couple of string compares I use that convert both strings to either ucase or lcase, to make the string compare case insensitive...
Has anyone seen VB or even batch files, take a 'ä' character and convert it to a 'õ' character ?
I suspect that it's a matter of conflicting character sets, in the regional setting of the computer, and not actually a coding problem...
Any suggestions?
Thanks
Frank Z
[COLOR="Gray"]
I used to ask 'why?' Now I just reinstall...
[SIZE="1"]______________________________________________
Author: ZTools: ZProcess, MVPServerChecker; UltraXMLTV Enhancer, Renamer, Manager; [/SIZE]
[/COLOR]
[COLOR="Gray"]
I used to ask 'why?' Now I just reinstall...
[SIZE="1"]______________________________________________
Author: ZTools: ZProcess, MVPServerChecker; UltraXMLTV Enhancer, Renamer, Manager; [/SIZE]
[/COLOR]