I read in a csv file which has UTF-8 characters, filter it but when I try 
to write it back to disk with writetable I get:

invalid UTF-8 character index
 in next at 
/Applications/Julia-0.3.8.app/Contents/Resources/julia/lib/julia/sys.dylib
 in need_full_hex at 
/Applications/Julia-0.3.8.app/Contents/Resources/julia/lib/julia/sys.dylib
 in print_escaped at string.jl:868
 in escapedprint at 
/Users/feldt/.julia/v0.3/DataFrames/src/abstractdataframe/io.jl:12
 in printtable at 
/Users/feldt/.julia/v0.3/DataFrames/src/abstractdataframe/io.jl:41
 in anonymous at 
/Users/feldt/.julia/v0.3/DataFrames/src/abstractdataframe/io.jl:108
 in open at iostream.jl:137
 in writetable at 
/Users/feldt/.julia/v0.3/DataFrames/src/abstractdataframe/io.jl:107

Not sure this is a DataFrames problem. Might be print_escaped? Any advice 
or hints? It doesn't help to indicate encoding = :utf8 when calling 
readtable (which should be the default anyway).


Best regards,


Robert Feldt

Reply via email to