Results 1 to 3 of 3

Thread: 300 bytes, Character in string

  1. #1
    Member
    Join Date
    May 06
    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
    Moderator
    Join Date
    Jan 05
    Location
    Sydney
    Posts
    13,612

    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
    Member
    Join Date
    May 06
    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
  •