Results 1 to 6 of 6

Thread: unicode??

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Sep 2007
    Posts
    122

    unicode??

    hi
    I have string I want do unicode
    to this string using "system.text.encoding.unicode"

    but how can I write this code

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: unicode??

    Sorry, where is this string? Are you saying you want to write a string somewhere as unicode or read it? Are we talking about text in a file?
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Sep 2007
    Posts
    122

    Re: unicode??

    no I have string in arabic language
    I want use unicode to write this string
    but I dont know the way

  4. #4
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: unicode??

    Write this string where? To a file? If you want to write it to a file then please specify that you want to write it to a file. If you want to write it elsewhere then please specify exactly where.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  5. #5

    Thread Starter
    Lively Member
    Join Date
    Sep 2007
    Posts
    122

    Re: unicode??

    I want write it in text box
    thanx

  6. #6
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: unicode??

    Then, as always, you simply assign your String to the Text property of the TextBox. You have to ensure that the Font property is set to a font that supports the characters you want to display.

    A clear and complete description of what you want in the first post would be good in future. I understand that English is not everyone's first language but that means you need to try harder to post clearly, not less. Not saying that you wantred to display this text in a TextBox when that is pretty much the critical bit of information is just a waste of our time and yours.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

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