Guest User

Untitled

a guest
Dec 20th, 2017
301
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.66 KB | None | 0 0
  1. mysql> SHOW VARIABLES LIKE 'character_set_%';
  2. +--------------------------+--------+
  3. | Variable_name | Value |
  4. +--------------------------+--------+
  5. | character_set_client | utf8 |
  6. | character_set_connection | utf8 |
  7. | character_set_database | utf8 |
  8. | character_set_filesystem | binary |
  9. | character_set_results | utf8 |
  10. | character_set_server | utf8 |
  11. | character_set_system | utf8 |
  12. +--------------------------+--------+
  13.  
  14. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  15.  
  16. url = "jdbc:mysql://localhost:3306/somedb?useUnicode=true&characterEncoding=utf-8";
  17.  
  18. SET NAMES 'utf8'
  19. SET CHARACTER SET utf8
Add Comment
Please, Sign In to add comment