write with a string containing accented characters, I realise that 2 bytes are returned.
julia> write(stdout, "ñ") ñ2 julia> write(stdout, "n") n1
This is an issue when the output is expecting a given length, for example HTTP parsing, relying on Sockets.
How can this be overcome?
Checking Julia code base, I see that
ccall with chars is being used.