which seems to convert utf-8 to *something* (probably windows-ansi)s/([\xC2\xC3])([\x80-\xBF])/chr(ord($1)<<6&0xC0|ord($2)&0x3F)/eg;
Could someone help me understand the expression? The search part I can pretty much get, but the replace has me alittle puzzled. Specifically
Thanks.
In reply to regex for utf-8 by jjohhn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |