Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^5: Character in 'b' format wrapped in unpack

by ikegami (Pope)
on Mar 29, 2015 at 23:07 UTC ( #1121742=note: print w/replies, xml ) Need Help??


in reply to Re^4: Character in 'b' format wrapped in unpack
in thread Character in 'b' format wrapped in unpack

"Character" just means "string element". In C, they are usually 8 (but 9 bits and other widths are possible). In Perl, they are far bigger. In both languages, they are numbers devoid of intrinsic meaning. They can be all of the things you specified, or something completely different.

  • Comment on Re^5: Character in 'b' format wrapped in unpack

Replies are listed 'Best First'.
Re^6: Character in 'b' format wrapped in unpack
by BrowserUk (Pope) on Mar 30, 2015 at 00:24 UTC
    but 9 bits and other widths are possible

    Oh yeah! Then why didn't they just create a 20.0625-bit character type to hold the 1,114,112 possible codepoints?


    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    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". I'm with torvalds on this
    In the absence of evidence, opinion is indistinguishable from prejudice. Agile (and TDD) debunked

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1121742]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (1)
As of 2019-08-21 04:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?