ChrisF79 Posted March 16, 2010 Share Posted March 16, 2010 Greetings: I have a regex that goes through some source code and finds 3 - Attached and stores it as $garage_spaces. If I then do an echo $garage_spaces, I don't have the but just a space. That's fine enough. When I insert this into a MySQL table, it just looks like "3 - Attached" which is again fine. However, when I do a select and pull the garage field, I get weird ascii characters instead of the spaces. It looks like 3�-�Attached for some reason. It is driving me nuts! Anybody know what I'm doing wrong or what I could try to do to fix this? Thank you so much! Link to comment https://forums.phpfreaks.com/topic/195461-mysqlphp-problem-with-storing-unusual-characters/ Share on other sites More sharing options...
jskywalker Posted March 16, 2010 Share Posted March 16, 2010 Anybody know what I'm doing wrong or what I could try to do to fix this? Try posting some source-code........ Link to comment https://forums.phpfreaks.com/topic/195461-mysqlphp-problem-with-storing-unusual-characters/#findComment-1027138 Share on other sites More sharing options...
fenway Posted March 20, 2010 Share Posted March 20, 2010 UTF*? Link to comment https://forums.phpfreaks.com/topic/195461-mysqlphp-problem-with-storing-unusual-characters/#findComment-1029305 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.