-
May 21st, 2006, 09:36 PM
#1
Member
300 bytes, Character in string
Hi,
Can anyone pls let me know that,
300 bytes = to how many character in a string.
Thanks
-
May 21st, 2006, 09:48 PM
#2
Re: 300 bytes, Character in string
It depends on the encoding. If it's ASCII then 1 byte per char which means 300 chars. If it's UTF-8 then 2 bytes per char. UTF-16 4 bytes per char.
-
May 21st, 2006, 09:54 PM
#3
Member
Re: 300 bytes, Character in string
Oic thankyou very much, i think i know.
Mine is 4 byte per character.
300/4 = 75character
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules