括激腱 > > Unicode 垩 utf-8 ゃ緇

Unicode 垩 utf-8 ゃ緇

違潟絖 Unicode 潟若ゃ潟 U+77F3 с潟絖茵 utf-8 ゃ緇隙utf-8 帥若

$ unicode_to_utf8 77F3

激с鴻篏

utf-8 篁腟

х筝茯障с<≪篁ヤ

箴 U+77F3(Unicode 潟若ゃ潟) E79FB3鐚utf-8 ゃ16画;憼羆

77F3 違2蚊15 111011111110011 泣筝15篋堺筝茵d茵絎≪帥 箙筝茵罕篋堺違綽g荵筝≧逸ゃ逸違荵鐚篁ヤ 1 筝∞隈2 筝∞隈3 筝∞隈荵腟泣鐚

膩уゃ筝篏箙<箙c篏筝∞隈荵ャ違 筝腟泣с _ c腓冴贋絎≪箙鴻若鴻с

  1ゃ膩荵鐚7 吟絎≪箙с鐚
        
         0 _ _ _ _ _ _ _    
        
  2ゃ膩荵 (5+6=11 吟絎≪箙с)
        
         1 1 0 _ _ _ _ _     1 0 _ _ _ _ _ _    
        癌癌
  3ゃ膩荵 (4+6+6=16 吟絎≪箙с)
        
         1 1 1 0 _ _ _ _     1 0 _ _ _ _ _ _     1 0 _ _ _ _ _ _    	
        癌癌癌癌

111011111110011 15 с3筝∞隈荵箙 鐚1筝∞隈箙d罕筝茵 2 筝∞隈箙 2 筝∞隈箙d罕筝茵 3 筝∞隈箙膣 utf-8 傑с馹帥с鐚

сd罕筝茵 3 ゃ違若荵莠箙帥

                   腥阪賢с                  c<荅違箙
        
         1 1 1 0 _ 1 1 1     1 0 0 1 1 1 1 1     1 0 1 1 0 0 1 1    
        癌癌癌癌

腥阪賢 0 荅違

                   
        
         1 1 1 0 0 1 1 1     1 0 0 1 1 1 1 1     1 0 1 1 0 0 1 1    	
        癌癌癌癌

箙<箙絎≪ 111001111001111110110011 utf-8 ゃ 2 蚊ц;憗

111001111001111110110011 篏帥c utf-8 荐絎帥若潟絖阪帥 若潟糸 dc 篏帥

$ dc
2i                           # ュ2蚊茹c
11100111 10011111 10110011   # 1 ゃゃ筝篏ゃ鴻帥荅違莨若
Sa Sb Sc La Lb Lc P P P      # 鴻帥荅違莨若障違ゃ阪

с潟阪

111001111001111110110011 16蚊眼 E79FB3 с echo c

$ echo -e '\xE7\x9F\xB3'

xxd 篏帥c

echo -n  E79FB3 | xxd -r -p

潟緇

dc 篏帥c絎鐚鐚激с∽

сUnicode 潟若ゃ潟鐚 77F3鐚ュ潟絖罔羣阪緇激с∽違篏c帥 違荐茯ゃс障<篁祉с篏 dc ф吾帥w

dc 阪ュ16蚊荐絎cc筝茯 2 蚊сc 筝茯羲膊後羝箙ゃc茵c 篏筝∞隈荵箙>散絏吾鴻帥脂蚊若喝冴у憗сc√c

unicode_to_utf8	()        # 激с∽違絎臂
{
unicode=`echo $1 | sed -e 's/^[uU]+//'| tr "a-f" "A-F"` 
                         # 綣違 unicode 鴻
                         # 箴 60  A7  77F3  2123D 
dc<<END            # 罨<茵 END 障с dc 違
16 doi                   # 阪ュ16蚊
$unicode sa              # 吾鴻 a ュ unicode 篆絖
[P q]sf                  # 吾鴻 f 
                         # utf-8 ゃ茵腓冴腟篋脂駕1 ゃ鐚
[la 40 / C0 + sb         # 吾鴻 g 
la 40 % 80 + sc          # utf-8 ゃ茵腓冴腟篋脂駕2 ゃ鐚
lc lb PP q]sg
[la 1000 / E0 + sb       # 吾鴻 h 
la 1000 % 40 / 80 + sc   # utf-8 ゃ茵腓冴腟篋脂駕3 ゃ鐚
la 40 % 80 + sd
ld lc lb PPP q]sh
[la 40000 / F0 + sb       # 吾鴻 i 
la 40000 % 1000 / 80 + sc # utf-8 ゃ茵腓冴腟篋脂駕4 ゃ鐚
la 1000 % 40 / 80 + sd
la 40 % 80 + se
le ld lc lb PPPP q]si     
la d 7F !<f             # unicode  7F 篁ヤ f 莎桁
la d 7FF !<g            # unicode  7FF 篁ヤ g 莎桁
la d FFFF !<h           # unicode  FFFF 篁ヤ h 莎桁
la d 1FFFFFF !<i        # unicode  1FFFFFF 篁ヤ i 莎桁
q                          # 腟篋
END
}

篁障сc潟絖 utf-8 ゃャ違utf-8 帥若с

$ echo -n  | od -tx1 -An
 e7 9f b3

桁с2 蚊цc

$ echo -n   | xxd -g 1 -b
0000000: 11100111 10011111 10110011                             ...

鐚cod xxd c潟違ゃc茵憗ャс帥若ゃ潟祉<純潟違ゃ絲上違с筝荐号馹莖茹f浦号с荐障с鐚

罨≠
HOME


紕膣
薤藕

茯絖
沿
ユ茯


遵医