Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum https://www.tinywebgallery.com/forum/ |
|
encoding error in mysession.inc.php https://www.tinywebgallery.com/forum/viewtopic.php?f=5&t=3000 |
Page 1 of 1 |
Author: | laamanni [ 22. May 2011, 14:24 ] |
Post subject: | encoding error in mysession.inc.php |
I get this error a lot in the debug file: Quote: 5.22.2011 15:18:29 (en) - ERROR 2 in /www/html/galleria/inc/mysession.inc.php, line 133: htmlentities() [_a href='function.htmlentities'_function.htmlentities_/a_]: charset `ANSI_X3.4-1968' not supported, assuming iso-8859-1 It is in many other lines like: parserequestimage.inc.php, lines: 32, 49 parserequest.inc.php, line: 38, 48, 64 How to fix this? |
Author: | TinyWebGallery [ 22. May 2011, 19:00 ] |
Post subject: | Re: encoding error in mysession.inc.php |
Have you set ANSI_X3.4-1968 as your encoding? This is not supported by php. By default TWG uses UTF-8 everywhere. Best, Michael |
Author: | laamanni [ 19. Jun 2011, 00:22 ] |
Post subject: | Re: encoding error in mysession.inc.php |
my encoding is utf8 or iso-8859-1 on everywhere in my system. i have no idea how to change TWG encoding. that is why this errormessage is so awkward for me. is there a place to config twg encoding? or how should i try to get closer to this problem? |
Author: | TinyWebGallery [ 19. Jun 2011, 09:35 ] |
Post subject: | Re: encoding error in mysession.inc.php |
just look e.g. in parserequestimage. There the charset is set - an this is defined in the language file. and this is utf-8 by default. you can add a debug("charset:" . $charset) there and then the charset is printed to the log file. - Michael |
Author: | laamanni [ 19. Jun 2011, 11:25 ] |
Post subject: | Re: encoding error in mysession.inc.php |
Thanks for your help. I checked the language files and the php files mentioned above. But I still cant figure out what is my problem. All the language files use utf8 as u said. So where the hell this Ansi X 1968 comes from? edit> nevertheless the album works just great. one additional question. how to improve security? |
Author: | TinyWebGallery [ 19. Jun 2011, 12:21 ] |
Post subject: | Re: encoding error in mysession.inc.php |
check howto 1. - Michael |
Page 1 of 1 | All times are UTC + 1 hour [ DST ] |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |