[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: how bash encode/decode characters with byte value greater than 0x7f



On Wed, 15 Nov 2006 17:02:07 -0500, T wrote:

> Hi
> 
> For characters whose byte values are greater than 0x7f, how bash
> encode/decode them?
> 
> I.e., 
> 
>  echo $'\312\325\274\376\317\344' | bash_encode
> 
> Anybody know how to make the output similar to '\312\325\274\376\317\344'?

Just FYI,

$ echo $'\312\325\274\376\317\344' | od -b
0000000 312 325 274 376 317 344 012

-- 
Tong (remove underscore(s) to reply)
  http://xpt.sourceforge.net/




Reply to: