Dear VBscript programmers
My code is reading a string with a special character, "Ã", from a KML file. After reading, it is wrinting in a TXT file and another KML file. However, after reading, the code converts automatically the special character:
"Ã" to "Ã"
"Ç" to "Ç"
"Ó" to "Ó"
And So on...
I tried to solve this bug using the following script:
strSearchString = "Ã"
strSearchFor1 = "Ã"
If InStr(1, strSearchString, strSearchFor1) > 0 then
NewString="Ã"
nome= Replace(strSearchString,strSearchFor1,NewString)
End If
But this way has not been efficient. Could someone help me solving this problem so that my variable "name" can store special character?
Any help is very appreciated. Thank you for your time and attention.
My code is reading a string with a special character, "Ã", from a KML file. After reading, it is wrinting in a TXT file and another KML file. However, after reading, the code converts automatically the special character:
"Ã" to "Ã"
"Ç" to "Ç"
"Ó" to "Ó"
And So on...
I tried to solve this bug using the following script:
strSearchString = "Ã"
strSearchFor1 = "Ã"
If InStr(1, strSearchString, strSearchFor1) > 0 then
NewString="Ã"
nome= Replace(strSearchString,strSearchFor1,NewString)
End If
But this way has not been efficient. Could someone help me solving this problem so that my variable "name" can store special character?
Any help is very appreciated. Thank you for your time and attention.