1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

環境依存文字が含まれるCSVファイルを読み込む際の文字コード設定

Last updated at Posted at 2020-11-06

CSV取込等行った際、文字コードを「SHIFT-JIS」に設定しているときに、
機種依存文字が文字化けする場合の対処。(Windowsの場合)

機種依存文字とは、、、
①②③④⑤⑥⑦⑧⑨⑩
ⅠⅡⅢⅣⅤⅥⅦⅧⅨⅩ
髙(はしごだか)

「SHIFT-JIS」ではなく、「windows-31j」を指定してファイル取込

DBでの表示結果
image.png
環境依存文字もきれいに出力されました。

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?