UnknownPlayer Posted July 12, 2010 Share Posted July 12, 2010 How can i save in mysql latin chars (čćđš) ? Quote Link to comment https://forums.phpfreaks.com/topic/207501-serbian-latin-%C4%8D%C4%87%C4%91%C5%A1/ Share on other sites More sharing options...
Mchl Posted July 12, 2010 Share Posted July 12, 2010 Just like any other chars. You need to be more specific with your problem. Quote Link to comment https://forums.phpfreaks.com/topic/207501-serbian-latin-%C4%8D%C4%87%C4%91%C5%A1/#findComment-1084826 Share on other sites More sharing options...
UnknownPlayer Posted July 12, 2010 Author Share Posted July 12, 2010 I cant save in mysql these chars čćđš, i need some settings for mysql then i can save, is that true? Quote Link to comment https://forums.phpfreaks.com/topic/207501-serbian-latin-%C4%8D%C4%87%C4%91%C5%A1/#findComment-1085110 Share on other sites More sharing options...
Mchl Posted July 13, 2010 Share Posted July 13, 2010 You must ensure you have set proper encodings in: 1.db table columns 2. html page 3. PHP-MySQL connection Quote Link to comment https://forums.phpfreaks.com/topic/207501-serbian-latin-%C4%8D%C4%87%C4%91%C5%A1/#findComment-1085337 Share on other sites More sharing options...
UnknownPlayer Posted July 14, 2010 Author Share Posted July 14, 2010 I need to set MySQL connection collation for that chars ? Can u tell me how set all that? Quote Link to comment https://forums.phpfreaks.com/topic/207501-serbian-latin-%C4%8D%C4%87%C4%91%C5%A1/#findComment-1085753 Share on other sites More sharing options...
Mchl Posted July 14, 2010 Share Posted July 14, 2010 mysql_set_charset Quote Link to comment https://forums.phpfreaks.com/topic/207501-serbian-latin-%C4%8D%C4%87%C4%91%C5%A1/#findComment-1085796 Share on other sites More sharing options...
UnknownPlayer Posted July 14, 2010 Author Share Posted July 14, 2010 And what to set, latin1 or what? :S Quote Link to comment https://forums.phpfreaks.com/topic/207501-serbian-latin-%C4%8D%C4%87%C4%91%C5%A1/#findComment-1086157 Share on other sites More sharing options...
Mchl Posted July 15, 2010 Share Posted July 15, 2010 To the encoding you want to use. You should know which one it is, but if you don't I'd recommend setting all of above to utf8 Quote Link to comment https://forums.phpfreaks.com/topic/207501-serbian-latin-%C4%8D%C4%87%C4%91%C5%A1/#findComment-1086292 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.