rails/postgres error when sending message with special character
|Reported by:||woodpeck||Owned by:||rails-dev@…|
I am relaying this message from the German forum:
Someone tried to send a message through user-to-user-messaging and got a strange "PGError: ERROR: invalid byte sequence for encoding "UTF8": 0xfc" message. 0xfc is ISO-8859-1 for a common German special character (ü). I can send messages containing that letter with no problem. I suspect that for some reason if a browser doesn't send UTF-8 but ISO-8859-1 then it breaks. No idea if this is the browser's or server's fault though!
I recommended not using special characters as a workaround.