L
Luis G.
Is there a way to test is a string contains any japanese or chinese
character? Is that possible?
Thanks,
Luis
character? Is that possible?
Thanks,
Luis
I found out this:
irb(main):003:0> p "$BN";zKkAH(B".unpack("U*")
[35023, 23383, 24149, 32068]
So, I can unpack it and check if is between the range you talked about,
right? If so, now I just need to find the range for the chinese and
japanese characters...
Isn't this an heavy operation? I have lots of sentences to test, with
size not bigger that 512 characters.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.