Autor Beitrag
DareDevil
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 70

Windows7
C# (VS 2010)
BeitragVerfasst: Mo 18.09.06 16:24 
Habe mal wieder ein Problem.

Ich bekomme es einfach nicht hin das ich z.B. in einer Textbox eine Escapesequenz eingeben kann und diese dann in das normale Zeichen umgewandelt wird.

Also z.B in der Textbox steht:

H\u0097llo

oder

H\x61llo

oder

H\141llo

alle drei Sachen ergeben "Hallo" aber ich bekomme es einfach nicht hin.

schon mal DANKE für die Hilfe

Greez

Pascal
Kha
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 3803
Erhaltene Danke: 176

Arch Linux
Python, C, C++ (vim)
BeitragVerfasst: Di 19.09.06 13:16 
Ich kenne nicht Vorgefertigtes für dieses Problem, also wäre die einfachste Lösung wohl Regex.Replace.
DareDevil Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 70

Windows7
C# (VS 2010)
BeitragVerfasst: Di 19.09.06 13:35 
und ich sitzt hier tage dran und bastel mir meinen algo selber

wieso einfach wenn es auch schwer geht

werde dann mal die nächsten tage den algo reinsetzen

Greez

Pascal