0
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.

Unicodeの文字をサクッと UTF-8 に変換する

Posted at

uni2ascii というライブラリを使って CLI 上で変換処理をおこないます

brew install uni2ascii

以下のような感じで簡単に変換ができます。
オンライン上で変換できるサービスはありますが、外部に出したくない機密情報などを扱うときとかに便利です。

$ echo '\u7533\u3057\u8fbc\u307f'  | ascii2uni -a U -q
申し込み
0
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
0
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?