Merge pull request #1 from ghostoy/master

Fix a bug when calculating the length of string containing non-ASCII characters
 * rebuild with previuos bug fix