How to determine if a character is a Chinese character

Ruby 1.9

#encoding: utf-8   
 "漢" =~ /\p{Han}/

Leave a Comment