Fix Wrong Charset Cannot Convert Illegal Character Encoding Recode Request



Fix Wrong Charset Cannot Convert Illegal Character Encoding Recode Request
Fix Wrong Charset Cannot Convert Illegal Character Encoding Recode Request
Post Description:
Post Tags: fix, wrong, charset, cannot, convert, illegal, character, encoding, recode, request
This Post Has Been Viewed 941 Times Since Mon Nov 06, 2006 11:02 pm Posted By bigger_travis with 0 replies
Next Post »» Getting Errors - Warning: exec(): Unable to fork [cmd /c ..] G2 ImageMagick
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');

Leave Your Comments     [ dejar commentarios ]
  * Name     [nombre]

  * eMail (will not be published)     [coreo electronico]

* Enter Your Reply or Comments:    [commentarios]


Add Picture To Comments         [incluir foto]
YES NO             upload
Receive Replies on my Comments (An email will be sent to you when someone replies to your comments)

     

Comments and replies About Fix Wrong Charset Cannot Convert Illegal Character Encoding Recode Request




(0) Comments