If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ASP > Unicode Conversion

Closed Thread
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-25-03, 03:10
Yusrin Yusrin is offline
Registered User
 
Join Date: Jun 2003
Location: Singapore
Posts: 20
Question Unicode Conversion

I have this lines of codes....

If sFormat ="TXT" then
Do while len(sFileText) > 1
sMsg = sMsg + Hex2Char(left(sFileText,2))
if Hex2Char(left(sFileText,2)) ="'" then sMsg=sMsg + "'"
sFileText = mid(sFileText,3,len(sFileText)-2)
Loop
'Response.Write(sMsg + "<Br>")
ELSE
sMsg = "Unknown Text !"
End


The code above is only for text ("TXT")... How the code shd be if its UNICODE("UCS")?? And by the way, this 'UCS' message should insert into my database and when it is read from the database, it shd be able to convert the UNICODE back to the message.. hmm get the idea??

I hope someone can help me ASAP..

Thankx..
  #2 (permalink)  
Old 07-01-03, 04:53
JonathanB JonathanB is offline
Registered User
 
Join Date: Feb 2002
Location: North Wales, UK
Posts: 114
Thread locked.

Please see this thread.
__________________
J^ - web | email
newsASP Developer
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On