PC Review


Reply
Thread Tools Rate Thread

Component to replace accented characters in a string

 
 
Jeff Levinson [mcsd]
Guest
Posts: n/a
 
      4th Aug 2003
I don't know of a component like that, but it is really
easy to do yourself. First, the String.Replace function is
unicode based so it's quite easy to use extended and
standard characters interchangeably.

What I would recommend is to create an object that holds
the basic character and extended character in unicode (use
this as a map for conversion) and then create a shared
method on the object that ran the replace command and
replaced one with the other.

Jeff Levinson
Author of "Building Client/Server Applications with
VB.NET: An Example Driven Approach"

>-----Original Message-----
>Hi,
>
>I'm looking for a .net (or COM) component which can

replace all accented
>characters in a Unicode string by their non-accented

equivalent.
>
>ie: "café" would be transformed to "cafe"
>
>Thanks for any information which will help me in this

task.
>
>Hakim Bouras
>European Society of Cardiology
>(E-Mail Removed)
>
>
>.
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
replace characters in a string kenny.love@gmail.com Microsoft Access Forms 2 30th Aug 2006 01:50 PM
Replace certain characters in a string Fred Boer Microsoft Access VBA Modules 3 15th Aug 2006 11:06 PM
Replace characters in a string jpierson@gmail.com Microsoft C# .NET 4 25th Mar 2006 11:57 PM
Component to transform accented characters Hakim Bouras Microsoft Dot NET Framework 2 5th Aug 2003 09:11 AM
Looking for a component to transform accented characters Hakim Bouras Microsoft C# .NET 0 4th Aug 2003 04:24 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:23 PM.