I have a row in a MySQL table with “ö”. The whole word is “företag”.
How do I select that word in a sql query?
I’ve tried with företag but it didn’t work. The table is using utf8.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You could use:
(‘_’ is the single character wildcard for LIKE statements)
If you are using a terminal, make sure the terminal is using UTF-8. Try:
Also try forcing the character set when starting the mysql command:
Otherwise, please give more details about what language and environment you are using to access the DB.