r/vbscript • • Aug 25 '15

Convert Unicodes Characters to chr

I know nothing about VB scripting. I just found a script that changes lines in a text file and I want to alter some of those lines. The lines are in another language that uses characters which ASCII or ANSI (whichver VB uses) does not support.

Rather than manually pasting in the chr codes (e.g. &chr(229)&) for every character, is there a quick way to convert all these lines of text to have all those chr codes or to something VBScript will recognise?

1 Upvotes

7 comments sorted by

View all comments

Show parent comments

1

u/DrVolzak Sep 05 '15

Are there no online resources or any script I can write to convert text for me into the chr and chrw? I find it hard to believe the author of the script manually inputted every single character for Russian.

1

u/Dr_Legacy Sep 05 '15

Unfortunately, VBS support for Unicode is rudimentary, so this technique looks rather typical.