![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Newbie
Join Date: Feb 2005
Posts: 2
Rep Power: 0
![]() |
Unicode to Ascii
I am actually working on an installation project at the moment and I am try to read an automatic generated unicode log file by using InstallScript. But unfortunately, the GetLine function in InstallScript only read Ascii file. I tried to manually convert the log file to Ascii by usning Notepad and it works. But I would like to automate the convertion. Can anyone help me?
Thanks, Welles |
|
|
|
|
|
#2 |
|
PFO Founder
![]() ![]() |
http://www.codersource.net/win32_unicode_ascii.html
This is all i can find maybe it will help maybe someone else will have a better idea ![]()
__________________
BIG K aka Kyle Programming Forums Kyle K Online Please do not PM or email me programming questions. Post them in the forums instead. |
|
|
|
|
|
#3 |
|
Hobbyist Programmer
|
Give me the Unicode text and I will convet it using VB then send it back to you. If you want....
__________________
And there was much rejoicing... Yay.... |
|
|
|
|
|
#4 |
|
Newbie
Join Date: Feb 2005
Posts: 2
Rep Power: 0
![]() |
Automatic process
Hi Cipher,
Thanks for offering, but I need a mean to automatically convert a unicode file to a ascii file. I was able to convert a unicode file to ascii file manually using notepad, but that's no what I need since I have to do this everytime the user in the application. Thanks, Welles |
|
|
|
|
|
#5 |
|
Hobbyist Programmer
|
What were you planning on writing this in?
If my understanding of unicode is correct (which it might not be) the ASCII and Unicode values for characters are the same. That is, ASCII has characters 0-127, so Unicode maintained those values for the character set to maximize compatibility. So, usually you can just pretend that a Unicode string is ASCII and vise versa so long as your only using characters in the basic ASCII set. |
|
|
|
|
|
#6 |
|
Newbie
Join Date: May 2005
Posts: 1
Rep Power: 0
![]() |
Hi
i am looking for automatic conversion of unicode text file to ansi text file via perl programming....If u happen to know please let me know. Thanks Karthik |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|