Jump to content

How to get Chinese' length


firewzy
 Share

Recommended Posts

Hi, I often solve some Chinese information. I now want to get length of some Chinese such as "我爱你". I use "stringlen('我爱你')" to get a "3".

But I want to get a "6". Because as we all known a GBK code is two byte.

How to get a "6" length as we use autoit code.

Help me quickly, every master!!!......

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...