MySQL Forums
Forum List  »  MySQL for Visual Studio

Re: Problem of accents in insertcommand query visual c#
Posted by: JOSE RAMIREZ
Date: January 02, 2017 03:02PM

Hello Marc,

Thank you for posting your question in the MySQL for Visual Studio forum.

The question is best suited for the "MySQL Character Sets, Collation, Unicode" or the "MySQL Connector/NET" forums. It is recommended to post it there to get a proper reply.

Nevertheless, please perform the following validations as they are common mistakes whenever dealing with accents:

- Validate accents are being stored correctly in the database.
- Validate that the encoding of the fields, tables and/or database is "utf-8".
- Execute the "SET NAMES 'utf-8'" statement prior to any other statement that retrieves data from the database.
- Make sure you specify a Content-Type in all the HTML files inside the head tag: <meta http-equiv="Content-type" content="text/html; charset=utf-8" />

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Problem of accents in insertcommand query visual c#
262
January 02, 2017 03:02PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.