Welcome to Geeklog, Anonymous Sunday, May 19 2024 @ 10:11 am EDT
Geeklog Forums
What The Heck? Tag Plug Smoked My Fonts...
Status: offline
winnerdk
Forum User
Full Member
Registered: 04/24/05
Posts: 339
Location:Panama City, Republic of Panama
I just installed the Tag plugin 0.3.1 and now I'm getting this kind of stuff all over the website:
"on my screen that I�m about to publish. It�s going out if"
"By Gilberto P�rez for La Estrella de Panama - Panama has approved the importation of..."
"that met Friday in Nat� in the province of Cocl�. The..."
What the heck are those little question mark things that just came out on nowhere (as soon as I installed the Tag plugin.) ???
It seems like somehow all of a sudden my site can't recognize apostrophized words or Spanish language words with accent marks. What the heck happened? (And, how can I keep the Tag plugin running as well as getting the right font stuff back?)
Don
http://www.panama-guide.com
"on my screen that I�m about to publish. It�s going out if"
"By Gilberto P�rez for La Estrella de Panama - Panama has approved the importation of..."
"that met Friday in Nat� in the province of Cocl�. The..."
What the heck are those little question mark things that just came out on nowhere (as soon as I installed the Tag plugin.) ???
It seems like somehow all of a sudden my site can't recognize apostrophized words or Spanish language words with accent marks. What the heck happened? (And, how can I keep the Tag plugin running as well as getting the right font stuff back?)
Don
http://www.panama-guide.com
8
9
Quote
Status: offline
samstone
Forum User
Full Member
Registered: 09/29/02
Posts: 820
Based on your page source, you are using charset=iso-8859-1.
I am just guessing that the plugin is using charset=utf-8.
UTF-8 is Unicode base, meaning Universal Code, shared around the world. iso-8859-1 is for western languages. More people are using UTF-8 for international language compatibility. Windows XP and later use Unicode.
Knowing that the plugin developer is a Japanese, I guess he might use UTF-8 for the charset.
So you can either hack the plugin to use iso-8859-1, or change your website's charset to utf-8.
Just a wild guess, since I don't use this plugin.
Peace!
Sam
I am just guessing that the plugin is using charset=utf-8.
UTF-8 is Unicode base, meaning Universal Code, shared around the world. iso-8859-1 is for western languages. More people are using UTF-8 for international language compatibility. Windows XP and later use Unicode.
Knowing that the plugin developer is a Japanese, I guess he might use UTF-8 for the charset.
So you can either hack the plugin to use iso-8859-1, or change your website's charset to utf-8.
Just a wild guess, since I don't use this plugin.
Peace!
Sam
6
5
Quote
Status: offline
mevans
Forum User
Full Member
Registered: 02/08/04
Posts: 393
Location:Texas
Don,
Give this a try...
First, go into the tag plugins language directory and copy english_utf-8.php to english.php.
Then, edit that language file (english.php), near the top you will see:
$LANG_CHARSET = 'utf-8';
Change that line to be:
$LANG_CHARSET = 'iso-8859-1';
Then, edit the tags/function.inc file, near the top you will see:
/**
* Language file Include
*/
$langfile = $_CONF['path'] . 'plugins/tag/language/' . $_CONF['language'] . '.php';
if (file_exists($langfile)) {
include_once $langfile;
} else {
include_once $_CONF['path'] . 'plugins/tag/language/english_utf-8.php';
}
Change the next to last line so it used english.php instead of english_utf-8.php.
That should get you back to a consistent iso-8559-1 site and let the tags plugin work with your site and not destroy your fonts.
Thanks!
Mark
Give this a try...
First, go into the tag plugins language directory and copy english_utf-8.php to english.php.
Then, edit that language file (english.php), near the top you will see:
Text Formatted Code
$LANG_CHARSET = 'utf-8';
Change that line to be:
Text Formatted Code
$LANG_CHARSET = 'iso-8859-1';
Then, edit the tags/function.inc file, near the top you will see:
Text Formatted Code
/**
* Language file Include
*/
$langfile = $_CONF['path'] . 'plugins/tag/language/' . $_CONF['language'] . '.php';
if (file_exists($langfile)) {
include_once $langfile;
} else {
include_once $_CONF['path'] . 'plugins/tag/language/english_utf-8.php';
}
Change the next to last line so it used english.php instead of english_utf-8.php.
That should get you back to a consistent iso-8559-1 site and let the tags plugin work with your site and not destroy your fonts.
Thanks!
Mark
9
6
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by: mevans
$LANG_CHARSET = 'utf-8';
Then, edit that language file (english.php), near the top you will see:
Text Formatted Code
$LANG_CHARSET = 'utf-8';
So that plugin sets $LANG_CHARSET? That's wrong - that variable should only be set by Geeklog's main language file.
I'd suggest simply removing that line and send a bug report to the author.
bye, Dirk
7
9
Quote
Status: offline
winnerdk
Forum User
Full Member
Registered: 04/24/05
Posts: 339
Location:Panama City, Republic of Panama
Quote by: samstone
So you can either hack the plugin to use iso-8859-1, or change your website's charset to utf-8.
Thanks for taking the time to explain that. I think at this point I'm just going to keep the plugin disabled and wait for the guy who wrote it to fix it.
Don
7
4
Quote
All times are EDT. The time is now 10:11 am.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content