TinyPortal

Development => Support => Topic started by: Diami on November 22, 2011, 10:35:36 AM

Title: Problem with charset/encoding
Post by: Diami on November 22, 2011, 10:35:36 AM
Link to my site: "papigice dot net"
SMF version: SMF 2.0.1
TP version: TP 1.104
Default Forum Language: Croatian
Theme name and version: SMF Default Theme - Curve (2.0)
Browser Name and Version: Mozilla Firefox
Mods installed: AdManagement, TinyPortal, YouTube BBCode, Stop Spammer
Related Error messages:

papigice dot net/newforum/index.php?topic=5964.15
2: html_entity_decode() [<a href='function.html-entity-decode'>function.html-entity-decode</a>]: charset `ISO-8859-2' not supported, assuming iso-8859-1
Datoteka: /var/www/vhosts/papigice.net/httpdocs/newforum/Sources/TPortal.php
Linija: 2223

______________________________________________
---------------------------------------------------------------------------------


Hello!

My forum started using TP a while ago and I have trouble because there are many errors regarding a problem with the charset. The exapmle above is just one of many errors - I get an error for every loading of any page of the forum wit the same text:
charset `ISO-8859-2' not supported, assuming iso-8859-1

Where can I correct this? I searched for it myself, but didn't find the right place.

Thanks in advance!
Title: Re: Problem with charset/encoding
Post by: lurkalot on November 22, 2011, 10:41:06 AM
Not sure if this helps, but worth a read, http://www.tinyportal.net/index.php?topic=34114.0
Title: Re: Problem with charset/encoding
Post by: Diami on November 22, 2011, 10:49:48 AM
Thanks, I read it and apparently the only fix at the moment would be to convert the forum to utf-8. I will look into that, maybe it's worth it.
Title: Re: Problem with charset/encoding
Post by: lurkalot on November 22, 2011, 11:01:58 AM
IchBin does also mention a fix for this problem in the next release, not sure if has been fixed in TP RC3, but might be worth the wait.  Shouldn't be long now hopefully. ;)
Title: Re: Problem with charset/encoding
Post by: IchBin on November 22, 2011, 05:24:01 PM
Yes, I've pretty much removed all the places where those functions are called that caused that error. Should be fixed in the next release.
Title: Re: Problem with charset/encoding
Post by: feline on November 23, 2011, 05:00:30 PM
use the SMF function un_htmlspecialchars($string) ...