nmh-workers
[Top] [All Lists]

Re: [Nmh-workers] Handling non-ASCII

2012-04-16 11:49:28

On 2012-04-16, at 9:36 AM, Ken Hornstein wrote:

I'm not so crazy about "." as a replacement character, though.  How about
this: if your locale is UTF-8 we use the standard UTF-8 replacement
character (U+FFFD, rendered as “�”), and any other locale we use a regular
old "?".  That seems more intuitive to me.

'?' has a visual density similar to alphabetic characters, so it also obscures 
the valid text.  Using '.' as a placeholder makes it very clear that something 
should have appeared in that character cell without obscuring the surrounding 
text.  U+FFFD suffers the same problem.

He?r??e i???s s??o?me g?arb??l?ed tex??t.

He.r..e i...s s..o.me g.arb..l.ed tex..t.

--lyndon
_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers

<Prev in Thread] Current Thread [Next in Thread>