File: utf8.txt

package info (click to toggle)
putty 0.83-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 13,216 kB
  • sloc: ansic: 148,476; python: 8,466; perl: 1,830; makefile: 128; sh: 117
file content (30 lines) | stat: -rw-r--r-- 2,305 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Test of UTF-8 output in a terminal emulator
‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾

Some basic Unicode:
  ∮ E⋅da = Q,  n → ∞, ∑ f(i) = ∏ g(i), ∀x∈ℝ: ⌈x⌉ = −⌊−x⌋, α ∧ ¬β = ¬(¬α ∨ β),
  ℕ ⊆ ℕ₀ ⊂ ℤ ⊂ ℚ ⊂ ℝ ⊂ ℂ, ⊥ < a ≠ b ≡ c ≤ d ≪ ⊤ ⇒ (A ⇔ B),

Combining characters:
  STARGΛ̊TE SG-1, a = v̇ = r̈, a⃑ ⊥ b⃑
  [----------------------------|------------------------]
    ๏ แผ่นดินฮั่นเสื่อมโทรมแสนสังเวช  พระปกเกศกองบู๊กู้ขึ้นใหม่
  สิบสองกษัตริย์ก่อนหน้าแลถัดไป       สององค์ไซร้โง่เขลาเบาปัญญา

Wide characters with difficult wrapping:
  Here we go then: コンニチハ コンニチハ コンニチハ コンニチハ コンニチハ コンニチハ コンニチハ コンニチハ コンニチハ コンニチハ コンニチハ コンニチハ コンニチハ コンニチハ コンニチハ

Arabic and bidirectional text:
            (من مجمع الزوائد ومنبع الفوائد للهيثمي ، ج 1 ، ص  74-84)           
               عن جرير رضي الله عنه قال قال رسول الله صلى الله عليه
          وسلم: بني الاسلام على خمس شهادة ان لا اله الا الله واقام              
Mixed LTR and RTL text: جرير رضي back to LTR.

East Asian Ambiguous characters: ¼½¾¼½¾¼½¾¼½¾¼½¾¼½¾¼½¾¼½¾¼½¾¼½¾

Emoji via U+FE0F: ❤️ ☺️ ☹️         (narrow, because wcwidth mishandles these)
Dedicated emoji:  💜 🙂 🙁      (wide and should look correct)
Combined via ZWJ: 👩‍💻          (PuTTY doesn't understand ZWJ)
Skin tone mod:    👩🏻 👩🏿     (wcwidth doesn't know those are modifiers)
Flags:            🇬🇧 🇺🇦 🇪🇺      (should work in GTK 2 or better)
Flags using tags: 🏴󠁧󠁢󠁥󠁮󠁧󠁿 🏴󠁧󠁢󠁳󠁣󠁴󠁿 🏴󠁧󠁢󠁷󠁬󠁳󠁿      (the tags are treated as combining marks)