Click here to Skip to main content
15,907,001 members
Home / Discussions / C#
   

C#

 
QuestionPowerPoint Automation Pin
Patrick Kilgore17-Sep-08 12:20
Patrick Kilgore17-Sep-08 12:20 
Questionhow can i get the root folder for my program after setup Pin
ahmedhassan9617-Sep-08 11:26
ahmedhassan9617-Sep-08 11:26 
AnswerRe: how can i get the root folder for my program after setup Pin
DaveyM6917-Sep-08 11:35
professionalDaveyM6917-Sep-08 11:35 
GeneralRe: how can i get the root folder for my program after setup Pin
ahmedhassan9617-Sep-08 12:21
ahmedhassan9617-Sep-08 12:21 
QuestionMigration from C# to java Pin
Monika Patel17-Sep-08 10:41
Monika Patel17-Sep-08 10:41 
QuestionHow to use rtf table of contents in RichTextBox Pin
panoskatws17-Sep-08 9:45
panoskatws17-Sep-08 9:45 
AnswerRe: How to use rtf table of contents in RichTextBox Pin
Dave Kreskowiak17-Sep-08 10:31
mveDave Kreskowiak17-Sep-08 10:31 
QuestionCodepages and character encoding Pin
Miszou17-Sep-08 9:09
Miszou17-Sep-08 9:09 
I am trying to translate some extended characters back into a more "English" representation, so that users can more easily search for the strings in a database.

For example, the singer "Beyoncé" has a "e" with a symbol over it and we use this representation for the display name. This symbol can be entered by typing alt+130 on the numeric keypad. However, we also want to store the "normal" version of the string ("beyonce") in a second field, so that we can search for it without having to jump through hoops. We want to automatically generate the search name based on the text in the display name field.

I've tried messing around with string replacements, lookup tables and other esoteric mechanisms, but nothing seems to work consistently. I'm now thinking I need to start looking at code pages and different encoding mechanisms, but the documentation on this is so terrible, it's difficult to know where to begin.

Does anyone know of a reliable, platform-independet method to remove these extended characters and replace them with a suitable English equivalent? Additionally, is there a better way of entering these characters, other than the alt+numpad mechanism, which also seems to change depending on code pages and other witchcraft.

eg:

Beyoncé --> beyonce
Mötley Crüe --> motley crue

Thanks!


QuestionBuilding a testing class Pin
OneLessJpeg17-Sep-08 9:02
OneLessJpeg17-Sep-08 9:02 
AnswerRe: Building a testing class Pin
Pete O'Hanlon17-Sep-08 9:07
mvePete O'Hanlon17-Sep-08 9:07 
QuestionDetermining type compatiblity Pin
Clive D. Pottinger17-Sep-08 8:27
Clive D. Pottinger17-Sep-08 8:27 
AnswerRe: Determining type compatiblity Pin
Pete O'Hanlon17-Sep-08 9:11
mvePete O'Hanlon17-Sep-08 9:11 
AnswerRe: Determining type compatiblity Pin
User 665817-Sep-08 9:23
User 665817-Sep-08 9:23 
GeneralRe: Determining type compatiblity Pin
Clive D. Pottinger17-Sep-08 9:51
Clive D. Pottinger17-Sep-08 9:51 
QuestionreSetting old values Pin
netJP12L17-Sep-08 7:30
netJP12L17-Sep-08 7:30 
AnswerRe: reSetting old values Pin
Jimmanuel17-Sep-08 9:26
Jimmanuel17-Sep-08 9:26 
Questionbrush problem... Pin
Sajjad Izadi17-Sep-08 6:30
Sajjad Izadi17-Sep-08 6:30 
AnswerRe: brush problem... Pin
Syed Mehroz Alam17-Sep-08 7:04
Syed Mehroz Alam17-Sep-08 7:04 
GeneralRe: brush problem... Pin
Sajjad Izadi17-Sep-08 7:17
Sajjad Izadi17-Sep-08 7:17 
AnswerRe: brush problem... Pin
Harvey Saayman17-Sep-08 8:05
Harvey Saayman17-Sep-08 8:05 
Joke[ot] Pin
Guffa17-Sep-08 8:36
Guffa17-Sep-08 8:36 
GeneralRe: [ot] Pin
Harvey Saayman17-Sep-08 8:52
Harvey Saayman17-Sep-08 8:52 
Questionformating numbers from strings Pin
brsecu17-Sep-08 4:55
brsecu17-Sep-08 4:55 
AnswerRe: formating numbers from strings PinPopular
Scott Dorman17-Sep-08 5:06
professionalScott Dorman17-Sep-08 5:06 
AnswerRe: formating numbers from strings Pin
Blue_Boy17-Sep-08 9:31
Blue_Boy17-Sep-08 9:31 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.