1
1

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 1 year has passed since last update.

「デ」の謎。濁点/半濁点文字のカタカナが同じようで違う。制御文字?エンコード? 二倍のバイト数があるぞ。 MAC-UTF8とは。#Mac #VsCode

Last updated at Posted at 2019-11-18

  1. デ

同じように見えて違うっぽい。なにこれ。

エディタでカタカナの「デ」が違う文字として認識されている

VsCode の 同じ文字にフォーカスするモードで、選ばれる「デ」と得ればれない「デ」がある

文字検索でも同じく

この記事からコピペして同じ結果になるかどうかは不明。

image

image

バイト数の違うカタカナ

Rubyで見るとサイズが違う。

[128] pry(main)> "デ".size
=> 1
[129] pry(main)> "デ".size
=> 2

image

Google で「デ」を検索する

Original by Github issue

チャットメンバー募集

何か質問、悩み事、相談などあればLINEオープンチャットもご利用ください。

Twitter

1
1
3

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
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?