MySQL: World Database Special Chars are Missing? -
i'm using mysql world database, seems special chars á
, é
missing, changed ?
sign:
is fault? or database designed in way, because looked in world.sql
file , found chars missing, or textmate wrong:
as can see in picture instead of győr
gyˆr
, others too.
some info:
i'm on mac os x 10.6, , have followed these instructions http://dev.mysql.com/doc/world-setup/en/world-setup.html . , downloaded myisam version of world database.
the world.sql
file specifies tables "latin1" default charset. there no need explicitly define charset database or tables.
two things:
what editor using view "world.sql"? tried view in notepad++ on windows7 , showed characters? perhaps editor isn't supporting latin charset.
how did import "world.sql" mysql?
i. if copied contents file , pasted directly mysql, either using default client or available gui clients, special characters did not import correctly because editor had copied lost them. please try importing directly mysql command line using
mysql -uxxx -hxxx -p < world.sql
ii. if did import command line, believe content imported fine special characters. perhaps client, black screen shot suppose, isn't supporting special characters.
so, please investigate of above 2 cases might happening. though i'm not sure if there might third case if both of above fail. hope helps.
Comments
Post a Comment