Closed skorotkiewicz closed 9 years ago
Is the cleverbot web site is showing the same problem ? If its the case, I guess I can not help :)
On the website it works correctly.
Nice catch.
Indeed, Cleverbot seems to send some unicode chars in this pattern |xxxx where xxxx is the hex value of the unicode.
This commit will handle that.
Give it a try, and let me know if it works for you.
Thank you!
It works, thanks for a quick response
bot1> "Te|017C nie wiesz?" should: "Też nie wiesz?" bot2> "Ty lepiej jed|017A na PGA." should: "Ty lepiej jedź na PGA." bot2> "W jakim mie|015Bcie?" should: "W jakim mieście?"
How to fix encodnig?