Guest User

Untitled

a guest
Jul 22nd, 2018
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. 文字コードと聞いて!
  2. 状況わかんないので勘だけど、DBがMySQLなら
  3. mysql> set character set sjis;
  4. とか打てば幸せになれるかもしれない!
  5.  
  6. またはJavaコード中のDB接続部分で
  7. "jdbc:mysql://localhost/データベース名?useUnicode=true&characterEncoding=SJIS"
  8. みたいに指定すれば幸せになれるかもしれない!
Add Comment
Please, Sign In to add comment