[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
On 15/08/2012 14:38, John English wrote:
a file containing C) in iso-8859-1 would have octal byte 351 which would not match that grep. You need to check no characters bigger than 127 (octal 177 if you prefer)
David
This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. ________________________________________________________________________
Re: [xsl] 16-bit chars rendered as "?" in UTF-8?
Subject: Re: [xsl] 16-bit chars rendered as "?" in UTF-8? From: David Carlisle <davidc@xxxxxxxxx> Date: Wed, 15 Aug 2012 14:58:08 +0100 |
On 15/08/2012 14:38, John English wrote:
I then search the file with "od -b | grep ' [4-7][0-7][0-7]'",
a file containing C) in iso-8859-1 would have octal byte 351 which would not match that grep. You need to check no characters bigger than 127 (octal 177 if you prefer)
David
________________________________________________________________________ The Numerical Algorithms Group Ltd is a company registered in England and Wales with company number 1249803. The registered office is: Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.
This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. ________________________________________________________________________
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] 16-bit chars rendered as , John English | Thread | Re: [xsl] 16-bit chars rendered as , John English |
Re: [xsl] 16-bit chars rendered as , John English | Date | Re: [xsl] 16-bit chars rendered as , John English |
Month |