Welcome to Geeklog, Anonymous Sunday, December 22 2024 @ 01:17 am EST
Geeklog Forums
Need help or idea with rare unicode fonts
Status: offline
samstone
Forum User
Full Member
Registered: 09/29/02
Posts: 820
I am trying to enable my site to display Burmese unicode text like this site http://www.rfa.org/burmese/
I can create a page using DreamWeaver (that means it works), but if I use Geeklog, I can type in to the story editor with no problem, but once I save it, the text turned into a series of question marks ??????????.
I also have Ksses disapble, so might not be the text cleaning caused by it.
Any idea?
Sam
I can create a page using DreamWeaver (that means it works), but if I use Geeklog, I can type in to the story editor with no problem, but once I save it, the text turned into a series of question marks ??????????.
I also have Ksses disapble, so might not be the text cleaning caused by it.
Any idea?
Sam
11
10
Quote
Status: offline
samstone
Forum User
Full Member
Registered: 09/29/02
Posts: 820
Found the cause. It was in MySQL that Collations are all set to Latin_1. The following information at MySQL site helped.
HOWEVER, the Portal blocks are still showing gibberish from the story titles with that kind of unicode text, even if the feed is from my own site. A sample feed is http://www.rfa.org/burmese/rss.xml
I can't find out how to force the portal blocks to display pure utf-8. Any idea?
Sam
This example shows how to configure mysqld server to use pure utf8 for server's character set and collation instead of default latin1. This will help to correctly store non-latin character data in db (cyrillic Ñharacters for example and russian language in particularly).
Go to the [mysqld] section in my.cnf and add two strings:
collation_server=utf8_unicode_ci
character_set_server=utf8
You can also add
skip-character-set-client-handshake
to enforce using of utf8 encoding in db.
Go to the [mysqld] section in my.cnf and add two strings:
collation_server=utf8_unicode_ci
character_set_server=utf8
You can also add
skip-character-set-client-handshake
to enforce using of utf8 encoding in db.
HOWEVER, the Portal blocks are still showing gibberish from the story titles with that kind of unicode text, even if the feed is from my own site. A sample feed is http://www.rfa.org/burmese/rss.xml
I can't find out how to force the portal blocks to display pure utf-8. Any idea?
Sam
10
12
Quote
Status: offline
samstone
Forum User
Full Member
Registered: 09/29/02
Posts: 820
Solved the RSS problem using the following change.
Dirk, I wonder if you would want to add this to the final GL1.4.1 distribution.
http://www.geeklog.net/forum/viewtopic.php?forum=3&showtopic=65417&highlight=utf-8
Dirk, I wonder if you would want to add this to the final GL1.4.1 distribution.
http://www.geeklog.net/forum/viewtopic.php?forum=3&showtopic=65417&highlight=utf-8
9
9
Quote
All times are EST. The time is now 01:17 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