Home  |  Index  |  Dotnet4all Snippets  |  Submit resources
About  |  Mail us  
Dotnet4all Logo

  Convert charref ({) to normal letters (Thursday, December 23, 2004)




Found the following interesting discussion in the Newsgroups:

Convert charref ({) to normal letters
by:Daniel Köster

Hi I asked this question a couple of days ago as well but I didn't get any
answers that I could use.

Is there someone who has got som tips on how to convert text encoded with
character referense ({) to unicode or uft-8 format using VB.net? Is
there a
function or something that can help with the conversion?

To use a simple replace "this" with "that" is not an option since there are
som asian-texts that I need to convert as well. (chinese, thai and japanese;
the replace list would be to large to handle)

What i want to do is to be able to compare a file coded with character
references (i.e. {) with a file coded with normal unicode characters
(i.e. ö,ä,å)

Best regards
Daniel


 Reply:
by:Cor Ligthert

 Hi Daniel,

These questions like yours in the dotnet newsgroups are mostly answered by
Jay B. Harlow, however even more by Jon Skeet, however Jon is definitly not
VB.net.

So I think you have more change, when you ask this question as well in the
newsgroup

Microsoft.public.dotnet.general as well.

There is Jon often active.

Cor


 Reply:
by:Daniel Köster

 OK! I'll try there as well.
Thank you Cor!








0 Comments:

Post a Comment

 
Previous Posts
    - Help with Datagrid events please.
    - Quotes within a text string
    - Quotes within a text string
    - Set the default "initial" value of a ComboBox
    - Re: Restrict keys in textbox w/o KeyAscii?
    - Returning values FROM window form
    - Make multithreading do only X threads at a time.
    - Is it possible to execute an iSeries program from ...
    - Datagrid columns
    - XML?, INI File?, How do I do this?

Archives
    - 10/03/2004 - 10/10/2004
    - 10/10/2004 - 10/17/2004
    - 10/17/2004 - 10/24/2004
    - 10/24/2004 - 10/31/2004
    - 10/31/2004 - 11/07/2004
    - 11/21/2004 - 11/28/2004
    - 11/28/2004 - 12/05/2004
    - 12/05/2004 - 12/12/2004
    - 12/12/2004 - 12/19/2004
    - 12/19/2004 - 12/26/2004
    - 12/26/2004 - 01/02/2005
    - 01/23/2005 - 01/30/2005
    - 01/01/2006 - 01/08/2006
    - 09/24/2006 - 10/01/2006

Disclaimer & Terms of Use  | DotNet4All.Com concept & © 2004 - 2007 by  Zelders²  - Holland