Click here to Skip to main content
15,886,919 members
Home / Discussions / C#
   

C#

 
GeneralRe: this.Refresh Pin
gwithey3-Jun-09 4:15
gwithey3-Jun-09 4:15 
GeneralRe: this.Refresh Pin
S. Senthil Kumar3-Jun-09 5:08
S. Senthil Kumar3-Jun-09 5:08 
QuestionAutomatically sizing a button based off data source Pin
EliottA3-Jun-09 3:46
EliottA3-Jun-09 3:46 
AnswerRe: Automatically sizing a button based off data source Pin
Henry Minute3-Jun-09 5:32
Henry Minute3-Jun-09 5:32 
GeneralRe: Automatically sizing a button based off data source Pin
EliottA3-Jun-09 5:39
EliottA3-Jun-09 5:39 
AnswerRe: Automatically sizing a button based off data source Pin
Moreno Airoldi3-Jun-09 5:40
Moreno Airoldi3-Jun-09 5:40 
GeneralRe: Automatically sizing a button based off data source Pin
EliottA3-Jun-09 5:54
EliottA3-Jun-09 5:54 
QuestionTransform non english words to a unique representation Pin
HZ_793-Jun-09 2:30
HZ_793-Jun-09 2:30 
Hello everybody,

I need a method in c# to transform non english word to a unique string representation. The method should detect if the word contains non english characters and, only in that case it converts the word to diffrent representation, the algo is the following:

String transformString(String inputString)
{
    if(inputString.containsNonEnglishChar())
    {
         String res = "";
         foreach(char ch in inputString)
         {
              res += transformChar(ch);
         }
         return res;
    }
    return inputString;// return the word as is
}


I can write the method my way, but I prefer to find something standard, like base 64 or URL encoding or something famous.

Thanks in advance.

HZ

AnswerRe: Transform non english words to a unique representation Pin
Uwe Keim3-Jun-09 2:36
sitebuilderUwe Keim3-Jun-09 2:36 
GeneralRe: Transform non english words to a unique representation Pin
HZ_793-Jun-09 2:48
HZ_793-Jun-09 2:48 
GeneralRe: Transform non english words to a unique representation Pin
Luc Pattyn3-Jun-09 3:33
sitebuilderLuc Pattyn3-Jun-09 3:33 
AnswerRe: Transform non english words to a unique representation Pin
Daniel Grunwald3-Jun-09 4:48
Daniel Grunwald3-Jun-09 4:48 
QuestionRegistry/System updating.......?? Pin
Hum Dum3-Jun-09 2:05
Hum Dum3-Jun-09 2:05 
AnswerRe: Registry/System updating.......?? Pin
Dave Kreskowiak3-Jun-09 3:27
mveDave Kreskowiak3-Jun-09 3:27 
GeneralRe: Registry/System updating.......?? Pin
Hum Dum3-Jun-09 19:56
Hum Dum3-Jun-09 19:56 
GeneralRe: Registry/System updating.......?? Pin
Dave Kreskowiak4-Jun-09 1:20
mveDave Kreskowiak4-Jun-09 1:20 
AnswerRe: Registry/System updating.......?? Pin
harold aptroot3-Jun-09 3:43
harold aptroot3-Jun-09 3:43 
GeneralRe: Registry/System updating.......?? Pin
Hum Dum3-Jun-09 19:59
Hum Dum3-Jun-09 19:59 
GeneralRe: Registry/System updating.......?? Pin
harold aptroot3-Jun-09 23:42
harold aptroot3-Jun-09 23:42 
QuestionAsyncCallback Pin
yesu prakash3-Jun-09 2:03
yesu prakash3-Jun-09 2:03 
AnswerRe: AsyncCallback Pin
Not Active3-Jun-09 2:59
mentorNot Active3-Jun-09 2:59 
AnswerRe: AsyncCallback Pin
_Erik_3-Jun-09 5:25
_Erik_3-Jun-09 5:25 
QuestionBarcode scanning Pin
KIDYA3-Jun-09 1:56
KIDYA3-Jun-09 1:56 
AnswerRe: Barcode scanning Pin
J4amieC3-Jun-09 2:03
J4amieC3-Jun-09 2:03 
GeneralRe: Barcode scanning Pin
KIDYA3-Jun-09 2:24
KIDYA3-Jun-09 2:24 

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.