From: Richard Conroy Date: 2011-01-11T01:37:31+09:00 Subject: Re: Japanese / chinese characters --0016367d67403a1bcd04998095f8 Content-Type: text/plain; charset=ISO-8859-1 If you know the encoding of the input string, (preferably unicode) you can test if the unicode signature of the character strings falls within the range assigned to the Han character sets. So yeah, it is possible, though not trivial. You might want to look for libraries that achieve the same thing. On Mon, Jan 10, 2011 at 4:32 PM, Luis G. wrote: > Is there a way to test is a string contains any japanese or chinese > character? Is that possible? > > Thanks, > > Luis > > -- > Posted via http://www.ruby-forum.com/. > > -- http://richardconroy.blogspot.com | http://twitter.com/RichardConroy --0016367d67403a1bcd04998095f8--