Link List V1.6 & Greek fonts
Link List V1.6 & Greek fonts
I'm using Link List V1.6 and I have problem when I'm using Greek fonts (enconding Greek windows-1253 or Greek ISO 8859-7). Links and Categories appears with ??????????? insted of greek letters. I didn't have the same problem with previous version. I'm using Serendipity 1.0 beta1.How can I resolve this problem?
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Which langauge file are you using? Serendipity has no greek language file...
My guess is that you translated it on your own but did not properly adjust the charset constant for the font you are required to use?
Regards,
Garvin
My guess is that you translated it on your own but did not properly adjust the charset constant for the font you are required to use?
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Dear Garvin,
I'm using the default English language file in which I have change the line 7:<< @define('LANG_CHARSET', 'windows-1253');>> to support greek fonts. (I'm testing Serendipity Blog System yet and I'm going to translate this file later). After this change all entries I'm doing, appears correctly. The problem there is only with Link List plugin. When I put a new link or a category with greek fonts it appears with ??????????. (you can see it at http://efgallos.efm.gr/blogs/). I remind you that the problem was presented when I made the update to LinkList V1.6. With the previous version did not exist any problem. I believe that something should be corrected in Link List plugin's files.
Best Regards
I'm using the default English language file in which I have change the line 7:<< @define('LANG_CHARSET', 'windows-1253');>> to support greek fonts. (I'm testing Serendipity Blog System yet and I'm going to translate this file later). After this change all entries I'm doing, appears correctly. The problem there is only with Link List plugin. When I put a new link or a category with greek fonts it appears with ??????????. (you can see it at http://efgallos.efm.gr/blogs/). I remind you that the problem was presented when I made the update to LinkList V1.6. With the previous version did not exist any problem. I believe that something should be corrected in Link List plugin's files.
Best Regards
-
mgroeninger
- Regular
- Posts: 546
- Joined: Mon Dec 20, 2004 11:57 pm
- Contact:
Hi, efgallos...
I have two questions that might help though...
You could look for these lines:
And replace them with these lines:
And see if that fixes the problem... If it does, I'm not sure of what the best path forward is... the UTF-8 parser fixes a lot of other problems for a lot of other people... Perhaps another configuration setting might be useful (like this plugin doesn't have enough already...)
I have two questions that might help though...
- Are you using the database backend, or entering xml directly into the text box? If you are using the database have you verified that the data in the database is being stored correctly?
What was the previous version you were using that was working?
You could look for these lines:
Code: Select all
$xml = xml_parser_create('UTF-8');
$linkxml = serendipity_utf8_encode($this->get_config('links'));
xml_parse_into_struct($xml, '<list>' . $linkxml . '</list>', $struct, $index);And replace them with these lines:
Code: Select all
$xml = xml_parser_create();
xml_parse_into_struct($xml, '<list>'.$this->get_config('links').'</list>', $struct, $index);