Re: Unicode Character Issue
- From: "Samuel" <samuel.shulman@xxxxxxxxxxxx>
- Date: Wed, 4 Jun 2008 17:45:30 +0100
Unicode didn't work but 'Default' did
Thank you,
Samuel
"Joe Duchtel" <duchtel@xxxxxxxxx> wrote in message
news:aeb93576-8529-4e33-9817-891a7ce233a5@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hello -
There is an overloaded constructor that takes an Encoding (e.g.
System.Text.UnicodeEncoding). Visual Basic treats all strings as
Unicode so if you do a ReadLine() to a String it should work.
Joe
On Jun 4, 12:04 pm, "Samuel" <samuel.shul...@xxxxxxxxxxxx> wrote:
Hi
I am trying to read text files that are saved in ANSI format with Unicode
characters such as French e German big S etc, and as I read the file these
characters appear as squares etc.
I know that if the file would be saved as Unicode this wouldn't be a
problem.
The question is whether there is an option that when I create the Stream
Reader the application will recognize it as Unicode characters.
Thank you,
Samuel
.
- References:
- Unicode Character Issue
- From: Samuel
- Re: Unicode Character Issue
- From: Joe Duchtel
- Unicode Character Issue
- Prev by Date: Re: SaveFileDialog.ShowDialog() returns Cancel when Yes to overwrite ...
- Next by Date: Re: Environment.UserName
- Previous by thread: Re: Unicode Character Issue
- Next by thread: Re: Unicode Character Issue
- Index(es):
Relevant Pages
|