luki123 Posted April 17, 2007 Share Posted April 17, 2007 hi, i try to insert CZECH text with all these special characters into a mysql db, but when i do that i see only strange characters inside the db table mysql_query("INSERT INTO myTable (Firstname) Values ('ěščřžů ĚŠČŘŽÝÁÍÉŮÚ')"); database table row: Ä›??Ä??™???? Äš? Ä????????????‰?®?š does anyone knows what i have to change (character set?) thanks for helping luki Link to comment https://forums.phpfreaks.com/topic/47337-insert-into-db-czech-language/ Share on other sites More sharing options...
Guest prozente Posted April 17, 2007 Share Posted April 17, 2007 Something like this ALTER TABLE `tablename` DEFAULT CHARACTER SET utf8 COLLATE utf8_czech_ci; Link to comment https://forums.phpfreaks.com/topic/47337-insert-into-db-czech-language/#findComment-230944 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.