5 Feb
2007
5 Feb
'07
7:50 a.m.
Peter Nixon wrote:
The errors Postgresql shows in the log are: 2007-02-05 14:22:59 EET saaas raduser ERROR: invalid byte sequence for encoding "UTF8": 0x85 2007-02-05 14:23:26 EET saaas raduser ERROR: invalid byte sequence for encoding "UTF8": 0x87
Ah, yes. The standard encoding problems. RADIUS usernames are supposed to be UTF-8, but as you can see, the user isn't following that. The solution is probably to hack "sql_safe_chars" to escape characters above 0x80, or to have it validate UTF-8 strings... and then escape non-UTF-8 characers. Alan DeKok. -- http://deployingradius.com - The web site of the book http://deployingradius.com/blog/ - The blog