Skip to main content.
home | support | download

Back to List Archive

Re: [swish-e] utf8 again

From: Michael Peters <mpeters(at)not-real.plusthree.com>
Date: Fri Aug 08 2008 - 21:49:28 GMT
Brad Miele wrote:
> not sure if this helps, but what we do is:

Mine is simpler and just 1 line:

$buffer =~ s/([^\p{IsASCII}])/sprintf('&amp;#x%X;', ord($1))/ge;

-- 
Michael Peters
Plus Three, LP

_______________________________________________
Users mailing list
Users@lists.swish-e.org
http://lists.swish-e.org/listinfo/users
Received on Fri Aug 8 17:50:39 2008