Menu

#14 Certain chars break note save

open
Database (1)
5
2004-11-13
2004-11-13
Shimon Rura
No

Certain characters typed at the client side cause note
save to fail. According to j, one is the u with umlaut
(workaround: use ü HTML entity code).

Here is the corresponding message in the error log:

DBD::Pg::db do failed: ERROR: invalid byte sequence
for encoding "UNICODE": 0xfc6e63 at
/var/www/frassle/site/Model/FAKit/Model/Directory.pm
line 533.
[Sat Nov 13 14:00:27 2004] [error] [client
12.64.146.175] DBD::Pg::db do failed: ERROR: invalid
byte sequence for encoding "UNICODE": 0xfc6e63 at
/var/www/frassle/site/Model/FAKit/Model/Directory.pm
line 533.\n, referer:
http://frassle.rura.org/Directory/note_add_edit_2

The solution probably involves recoding the
user-submitted input, or maybe enhancing the demoronize
function.

Discussion


Log in to post a comment.