Results 1 to 3 of 3

Thread: 300 bytes, Character in string

  1. #1

    Thread Starter
    Member
    Join Date
    May 2006
    Posts
    35

    300 bytes, Character in string

    Hi,

    Can anyone pls let me know that,
    300 bytes = to how many character in a string.

    Thanks

  2. #2
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    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.

  3. #3

    Thread Starter
    Member
    Join Date
    May 2006
    Posts
    35

    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
  •  



Click Here to Expand Forum to Full Width