looking for a regular expression

Tim Roberts timr at probo.com
Sat Aug 5 20:00:37 EDT 2006


"alex23" <wuwei23 at gmail.com> wrote:

>Tim Roberts wrote:
>> What is your signature supposed to be?  It looks like you are trying to
>> inject ANSI terminal escape sequences.  The vast majority of Usenet
>> participants are now reading these articles through GUI newsreaders or
>> web-based readers which show this as 5 lines of unrecognizable line noise.
>
>It renders as (I'm guessing) Chinese through Firefox on an XP box with
>East Asian Languages enabled. If you really want to see this the way
>it's intended, then check out:
>http://en.wikipedia.org/wiki/Wikipedia:Enabling_East_Asian_characters
>
>"The vast majority" of Usenet participants who need it will most likely
>already have it. Try not to extrapolate too wildly from your individual
>& clearly experiential evidence.

No, it's more than that.  I recognized that most of the string was intended
to be Chinese, but there are ANSI terminal escape sequences sprinkled
through there.  Look at the start of the first line: "<esc>[1;30;40;m".  No
GUI app is going to render that.

>¤Ò§LªÌ¤£²»¤§¾¹ª«©Î´c¤§¬G¦³¹DªÌ¤£³B§g¤l©~«h¶Q¥ª¥Î§L«h¶Q¥k§LªÌ¤£²»¤§¾¹«D§g¤l
>¤§¾¹¤£±o¤w¦Ó¥Î¤§«ï²H¬°¤W³Ó¦Ó¤£¬ü¦Ó¬ü¤§ªÌ¬O¼Ö±þ¤H¤Ò¼Ö±þ¤HªÌ«h¤£¥i±o§Ó©ó¤Ñ¤U
>¨o¦N¨Æ©|¥ª¤¿¨Æ©|¥k°¾±N­x©~¥ª¤W±N­x©~¥k¨¥¥H³à§³B¤§±þ¤H¤§²³¥H«s´dª_¤§¾Ô³Ó¥H
>³à§³B¤§¹D±`µL¦W¾ëÁö¤p¤Ñ¤U²ö¯à¦Ú«J¤ý­Y¯à¦u¤§¸Uª«±N¦Û»«¤Ñ¦a¬Û¦X¥H­°¥ÌÅS¥Á²ö
>¤§¥O¦Ó¦Û§¡©l¨î¦³¦W¦W¥ç¬J¦³¤Ò¥ç±Nª¾210-64-83-167.adsl.dynamic.seed.net.tw®ü
-- 
- Tim Roberts, timr at probo.com
  Providenza & Boekelheide, Inc.



More information about the Python-list mailing list