Veröffentlicht 3. Februar 200223 j also, ich habe da eine Textarea in HTML eingefügt, dieses Text werte ich dan in einen Skript aus. nun meine Frage: wie werte ich "ß ä ö ü Ä Ö Ü" aus? also so in etwa (was aber nicht klappt) $string =~ s/ß/ß/g; hat jemand die entsprechenden Codes für die oben genannten Zeichen ??? mit \n filtere ich eine Leerzeile habs schon versucht mit \ß, \ä usw... - geht aber alles nicht. danke für die Hilfe paul
4. Februar 200223 j OK buddy - - for a long time I haven't said anything in this community - - but your question is interesting enough to answer: Try the following: each character has it's own hexadecimal representation: ß -> 0xDF ä -> 0xE4 Ä -> 0xC4 ö -> 0xF6 Ö -> 0xD6 ü -> 0xFC Ü -> 0xDC knowing this and knowing how to use hex-values in PL try the following: $STRING =~ s/\xDF/ß/g; and so on, and you'll just be fine!! Hope I was helpful - - check out http://h4kk3_007.bei.t-online.de/perlref.pdf - - a very good help indeed - - perl reference that doesn't answer all the detailled questions but is very interesting nonetheless - - - don't bother that I'm writing english - - I just was in the mood
Archiv
Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.