Jump to content
Sign in to follow this  

How to get Chinese' length

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!!!......

Share this post

Link to post
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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...