The error is correct, as this file is neither encoded in ASCII nor in
Unicode: it's in ISO-8859-15.
If you really want to read it an preserve the ° signs, you can use my
to-be-published-soon StringEncodings.jl package:
Pkg.clone("https://github.com/nalimilan/StringEncodings.jl.git")
using StringEncodings
readall(StringDecoder(open("channel\ 1\ 20120815\ 01500"), "ISO-8859-15"))
Regards
Le lundi 25 janvier 2016 à 00:15 -0800, Alberto a écrit :
> Hello Tomas,
>
> I tried to run
>
> f = open(filename)
> f_bytes = readbytes(f)
> text = UTF8String(f_bytes)
>
> but i get the same error I got for
>
> f = open(filename)
> text = readall(f)
>
>
> Thank you for the reply,
> Alberto
>
>
>
> Il giorno lunedì 25 gennaio 2016 07:00:45 UTC+1, Tomas Lycken ha
> scritto:
> > Try converting from binary to text with UTF8String instead of
> > ASCIIString - then all characters should display correctly.
> > //T
> >