unicode1.tests 202 B

12345678910111213
  1. LANG=en_US.UTF-8
  2. # A combining character U+300
  3. a=`printf "\xcc\x80"`
  4. # Should print 1
  5. echo ${#a}
  6. # A Japanese katakana charachter U+30a3
  7. a=`printf "\xe3\x82\xa3"`
  8. # Should print 1
  9. echo ${#a}
  10. echo Ok