Re: Splitting on =




Sep 21, 2005 kl. 9:48 PM skrev Tommy Nordgren:

How do you split a string on the equality character?
Neither split (/=/,$myvar)
nor split ('=',$myvar)
appears to work
"Home is not where you are born, but where your heart finds peace" -
Tommy Nordgren, "The dying old crone"


-- To unsubscribe, e-mail: beginners-unsubscribe@xxxxxxxx
For additional commands, e-mail: beginners-help@xxxxxxxx
<http://learn.perl.org/> <http://learn.perl.org/first-response>





I've verified that the problem with my script occurs because the string I'm trying to parse
is using a different coding of the equality sign.
The default output format of the tool whose output I'm trying to process is UniCode .
Apparently there is multiple code point for the = character in unicode.
telling the tool whose output I'm trying to process to use the Mac Roman encoding instead,
succeds.


How can you properly match = characters in unicode strings?
-------------------------------------
This sig is dedicated to the advancement of Nuclear Power
Tommy Nordgren
tommy.nordgren@xxxxxxxxx



.



Relevant Pages

  • Re: What does it mean LANG=C
    ... updating their environments to use the Unicode support their OS ... Is "common sense" really valid? ... Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: How to convert Unicode numbers into proper utf8 text?
    ... If you are looking for the spec, I got the following from the Unicode ... The latter is an example of an irregular UTF-8 bute sequence. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: Dumb question about unicode
    ... I have been wondering why I need unicode at ... My main trouble is mrxvt, which does not have unicode support. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • unicode mystery
    ... of the extra characters you need for French, and I found them all just ... I examined the unicode ... Peace, ... I'm considering looking into pyscript as a means of making ...
    (comp.lang.python)
  • Re: How to convert Unicode numbers into proper utf8 text?
    ... If you are looking for the spec, I got the following from the Unicode ... The latter is an example of an irregular UTF-8 bute sequence. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)