C
Cafe Babe
How can I write a regexp to match CJK characters?
Thanks in advance
Thanks in advance
Paul said:Cafe Babe wrote:
=20
=20
print "Yes!" if varname =3D~ /^CJK$/
=20
If this is not what you wanted, you will simply have to write a longer = post.
=20
David said:CJK = (I think) Chinese, Japanese, Korean. "CJK characters" usually
refers to the encodings you use for those - Big5, JIS, Unicode, etc.
David Vallner
Josef said:-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Cafe Babe wrote:
| David Vallner wrote:
|> CJK = (I think) Chinese, Japanese, Korean. "CJK characters" usually
|> refers to the encodings you use for those - Big5, JIS, Unicode, etc.
| Yes, so how can write the regexp? thanks a lot
Which encoding?
Jupp
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
iD8DBQFFQ7lNrhv7B2zGV08RAiWDAJ9nHZ53nFKfbWdHshWc8z/5zU/u6gCdGfyt
8XDVfOVp/F/MbhPx/6MitxA=
=8zOn
-----END PGP SIGNATURE-----
UTF-8
and
$KCODE='u'
require_dependency 'jcode',
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.