Storing string

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • SK

    #1

    Storing string

    I have a string that consists of both japanese characters
    and english characters .how do i store this in a text file.
    Please help
  • Jon Skeet [C# MVP]

    #2
    Re: Storing string

    SK <anonymous@disc ussions.microso ft.com> wrote:[color=blue]
    > I have a string that consists of both japanese characters
    > and english characters .how do i store this in a text file.[/color]

    Use an encoding which supports all the character you need. I suggest
    using either Encoding.Unicod e or Encoding.UTF8.

    --
    Jon Skeet - <skeet@pobox.co m>
    Pobox has been discontinued as a separate service, and all existing customers moved to the Fastmail platform.

    If replying to the group, please do not mail me too

    Comment

    Working...