in reply to Re^43: Interleaving bytes in a string quickly
in thread Interleaving bytes in a string quickly

8-bit string format

BTW: I'm not sure where you got it from, or if it is just a language thing, but that is a nonsensical term. An "8-bit string" would be 1 byte long.

As is "the 32/64-bit string format". 4 or 8 bytes respectively.

An '8-bit character string format' maybe. More usually known simply as "a byte string".

And "32-bit/64-bit character string", though that's still not right because the characters can be "upto nn-bits". But, of course you can't have a character with a non-power of 8 bits.

So, "varible length character string", but that sounds like the string is variable length rather than the characters. Which I guess is why they are usually referred to as "Unicode strings" or "Wide character strings". But neither of those is quite right for these peculiar, useless beasties.

So, how about "Variable width character strings". A quick google shows a few other have hit upon that.


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
"I'd rather go naked than blow up my ass"
  • Comment on Re^44: Interleaving bytes in a string quickly

Replies are listed 'Best First'.
Re^45: Interleaving bytes in a string quickly
by ikegami (Patriarch) on Mar 03, 2010 at 04:17 UTC

    More usually known simply as "a byte string".

    A "byte string" means the same as a "string of bytes" to me (flour box = box of flour), and that's not what I meant by "8-bit string format". I was referring to one of Perl's string format, not what the value of the string.

      Then you'll have to clarify what you do mean, rather than telling us what you don't.

      Because that phrase means nothing to me; nor anything apparently related, (other than this thread), to google.

      I was referring to one of Perl's string format, not what the value of the string.

      And I'm being neither rude nor pedantic when I say, that sentence doesn't parse to anything that I can make sense of either.

        Perl has two string types/formats. One that can store 8-bit values (UTF8=0), and one that can store larger values (UTF8=1). I was referring to the former.