[
https://issues.apache.org/jira/browse/CB-4487?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13729078#comment-13729078
]
Colin Bau commented on CB-4487:
-------------------------------
Oh, sorry, you misunderstood
Let me explain it once again
When I use the initialization string "Some sample text"
And with truncate (11) with the seek (4)
Final result is "some different text", which is correct
But if I am going initialization string to Traditional Chinese
For example "許功蓋許功蓋許功蓋許功蓋"
Above 12 Chinese characters
The Final result becomes "è ¨ ± å different text"
I know the eng character(1 byte),but Tthe raditional Chinese(2 byte)
Therefore, the final cut of the results caused garbled
So I hope I can find a common solution for this
> phonegap 2.9 file api's big5 or utf8 split character problem
> ------------------------------------------------------------
>
> Key: CB-4487
> URL: https://issues.apache.org/jira/browse/CB-4487
> Project: Apache Cordova
> Issue Type: Wish
> Components: Android
> Affects Versions: 2.9.0
> Environment: Android 4.03 HTC Sensation XL
> Reporter: Colin Bau
> Assignee: Joe Bowser
> Labels: cut, lebgth, seek
> Original Estimate: 48h
> Remaining Estimate: 48h
>
> all the content in the web address
> https://groups.google.com/forum/#!topic/phonegap/-kozb7jlhqk
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira