[KLUG Programming] Re: [KLUG Members] getting exit code in bash script

Adam Tauno Williams adam at morrison-ind.com
Fri Mar 11 16:51:21 EST 2005


> > > > Any idea what the weird character is?
> > > Not without looking it up.  (which I have no desire to do)
> > > Maybe some kind of tab or cursor movement code?
> On this page:
> http://sourceforge.net/mailarchive/message.php?msg_id=5916545
> I found this:
> The two byte sequence \302\240
>  is the UTF-8 encoding for the character
>  known in Tcl-Unicode notation as \u00a0

Makes sense.  Your cutting from a Unicode interface (pango, embedded in
Evo and most current GNOME apps) and if your pasting into an ASCII
(UTF-8 only) window (say a terminal running VI) you'll get this kind of
thing.  I've seen it cutting from Wordpad (Unicode) and pasting into
Notepad (ASCII) on Win32 too.  Only notepad shows them as 'garbled
characters'.

I'd think pasting into gedit from evolution and saving the file in gedit
would not cause the problem (both pango apps);  but I could be wrong.
Pasting from Evo into VI frequently causes problems.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://www.kalamazoolinux.org/pipermail/programming/attachments/20050311/44c8a147/attachment.bin


More information about the Programming mailing list