Results 1 to 5 of 5

Thread: can any one help me ???

  1. #1

    Thread Starter
    New Member
    Join Date
    May 2013
    Posts
    2

    Unhappy 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 ??

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: can any one help me ???

    Welcome to the forums

    See Post #2 by LaVolpe in this thread.

  3. #3

    Thread Starter
    New Member
    Join Date
    May 2013
    Posts
    2

    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 ?

  4. #4
    Addicted Member
    Join Date
    Oct 2012
    Posts
    137

    Re: can any one help me ???

    users must have the same font enabled in ther pc ,

  5. #5
    Addicted Member
    Join Date
    Mar 2007
    Location
    India
    Posts
    227

    Re: can any one help me ???

    Quote Originally Posted by night020 View Post
    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
  •  



Click Here to Expand Forum to Full Width