GeoNames Home
|
Postal Codes
|
Download / Webservice
|
About
GeoNames Forum
Search
Recent Topics
Back to home page
Register
/
Login
Strange characters displayed on webpage
Forum Index
->
General
Author
Message
14/01/2009 14:03:09
Subject:
Strange characters displayed on webpage
terryh
Joined: 14/01/2009 13:54:55
Messages: 17
Offline
Hi. Firstly. Many thanks for this great resource. All your hard work is most appreciated.
I have one question.
Is there anyway I can overcome the odd characters I'm seeing in the names pulled from the database?
In case it's relevant:
The database character set is set to utf8.
Collation is utf8_general_ci.
Hopefully there's an image attached below.
Thanks. Regards Terry.
Description
Download
Filesize
5 Kbytes
Downloaded:
792 time(s)
14/01/2009 22:31:14
Subject:
Re:Strange characters displayed on webpage
marc
Joined: 08/12/2005 07:39:47
Messages: 4501
Offline
utf8 is correct. I guess it is a problem with the way you look at the data. The webpage should also be in utf8 if you print utf8 data.
Best
Marc
14/01/2009 23:26:19
Subject:
Re:Strange characters displayed on webpage
terryh
Joined: 14/01/2009 13:54:55
Messages: 17
Offline
After checking and rechecking, I found that everything was correctly set, yet the problem still persisted.
I eventually found that the problem was the connection between MySQL and php. I explicitly set the encoding in the connector string and all was well.
Problem solved. YAY!
Thanks for taking the time to look.
Having conformation that utf8 was correct, was one less thing to worry about.
Forum Index
->
General
Go to:
Select a forum
Forum in English
-------------
General
Administrative Divisions
FAQ - frequently asked questions
Postal Codes
Discussion of GeoNames Toponyms
Forum in other language
-------------
Forum in Deutsch
Powered by
JForum 2.1.5
©
JForum Team
info@geonames.org
GeoNames Home
Postal Codes
Download / Webservice
Forum
About