wallpaper rama - Fix Wrong charset cannot convert Illegal character encoding recode request


wallpaperramaForumsGeneral Errors



Fix Wrong charset cannot convert Illegal character encoding recode request
Where I should see dates I see "Wrong charset, cannot convert" or "Illegal character encoding" or "Illegal recode request".. what is wrong?

if you have the questiong above for your gallery, maybe i can answer for you:
Some operating systems report invalid character sets to PHP leading to errors when trying to convert system-generated content (like day/month names in dates) to UTF-8. Work around this problem by placing the following in config.php:


     Code:
require_once(dirname(__FILE__) . '/modules/core/classes/GalleryCapabilities.class');
GalleryCapabilities::set('systemCharset', 'ISO-8859-1');


Replace 'ISO-8859-1' with the appropriate character set for your system.

An invalid locales config normally causes uploads to fail, with the Upload Applet error message Upload error: Upload failed: ". after each uploaded item and the From Web Browser just uploads one item with the status message Successfully added 1 file.

If you are running a multi site Gallery, it might be a good idea to use an absolute path in the require_once call, like this:


     Code:
require_once('/var/www/gallery2/modules/core/classes/GalleryCapabilities.class');

Copyright © 2012 www.wallpaperrama.com All Rights Reserved

Hosting By Webune.com