-
May 30th, 2013, 10:07 AM
#1
Thread Starter
New Member
can any one help me ???
hello people i like ur forum very much
i got a vb6 project its about chatting
and got this function in it
Public Function SendTextPV(ByVal Kata As String, ByVal Tujuan As String, ByVal Pengirim As String)
SendTextPV = HexToAscii("0201F4000B" & DecToHexFull(Len(Kata) + Len(Tujuan) + Len(Pengirim) + 40) & "0008" & DecToHexFull(Len(Kata)) & AsciiToHex(Kata) & "00060000000200010004" & DecToHexFull(Len(Tujuan)) & AsciiToHex(Tujuan) & "000300000001010002" & DecToHexFull(Len(Pengirim)) & AsciiToHex(Pengirim) & "00010000000101")
End Function
its about sending private msg
now this function use ascii and hex
its working fine and everything is fine but when im trying to send text in arabic
like : مرحبا
it send it to the one im talking in pvt like this ظ…ط±ط*ط¨ط§
so how we can make it support arabic ? or unicode ??
-
May 30th, 2013, 01:28 PM
#2
Re: can any one help me ???
Welcome to the forums
See Post #2 by LaVolpe in this thread.
-
May 30th, 2013, 01:59 PM
#3
Thread Starter
New Member
Re: can any one help me ???
thanks very much for replying but
actually i dont have problem with showing it in arabic , i have problem with sending it in arabic
for me its fine but when i send the text it doesnt show in arabic as i typed it so can we make it send exactly what i typed ?
-
May 30th, 2013, 03:50 PM
#4
Addicted Member
Re: can any one help me ???
users must have the same font enabled in ther pc ,
-
May 31st, 2013, 11:11 PM
#5
Addicted Member
Re: can any one help me ???
Originally Posted by night020
thanks very much for replying but
actually i dont have problem with showing it in arabic , i have problem with sending it in arabic
for me its fine but when i send the text it doesnt show in arabic as i typed it so can we make it send exactly what i typed ?
In your case the function StrConv is your friend. First convert your string from Unicode and then Hex it (or whatever you are doing) on the other size unHex it and the convert it back to Unicode.
HTH
Yogi Yang
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|