i have problem perl cgi scripts have deal special german letters.
my problem example ö character input text field being read correctly if form uses if use post becomes ö. need work post, switching not possibility.
the webserver uses utf8, script saved utf8, explicitly told perl treat cgi input utf8 "use cgi -utf8;" , databases has client encoding set utf8.
what may missing?
i tested example included in cgi distribution, uses simple form post data in text field. example works in current state utf8 data. if -utf8 flag use cgi included ö char corrupted. bug.
edit: digging bit deeper because utf-8 bit not set on variable - cgi tries dtrt, if utf-8 bit not set will decode. i'll try sometime soon, no promises though...
Comments
Post a Comment