On Tue, 2013-01-01 at 10:52 +0800, jidanni@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