Oleg Kalnichevski wrote:
If you only listened and produced a wire / context log, when I asked you, all this could have been found out much earlier, and I most likely would also have been able to tell why EntityUtils#toString failed to detect the charset.

Oleg


Hello Oleg,

Sorry - I only tried what seemed easiest to me first here. Today is the first day I've had the time to look into this again. A wire + context log should be attached to this mail. Hope this can clearify what is going on.

PS! I'm pretty sure that EntityUtils.getContentCharset() returns the right charset (UTF-8 in this case) - so the confusing point is why EntityUtils.toString() returns 0x3F for the norwegian letters. As far as I could tell from the sources the charset from getContentCharset() has top priority in toString()...

Thanks for helping,
Magnus






Attachment: log.txt.gz
Description: GNU Zip compressed data

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to