On Tue, 2013-01-01 at 10:52 +0800, jida...@jidanni.org wrote: > I'm just trying to find a way to remove the <wbr/> injected here, > $ echo '<A>你好</A>'|perl -pwle 's![^[:ascii:]]!$&<wbr/>!'|qprint -e > <A>=E4<wbr/>=BD=A0=E5=A5=BD</A>
I don't have a qprint command on my system, so I'm not sure what's going on for you here. Your perl substitution is putting <wbr/> after the first non-ascii character on the line, and 你 is for sure not an ascii character, so you get <wbr/> after it. Are you trying to do MIME octet-level encoding of UTF-8 here? Liam -- Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/ Pictures from old books: http://fromoldbooks.org/ Ankh: irc.sorcery.net irc.gnome.org freenode/#xml _______________________________________________ BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk