Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Character Encodings
Search
Alex Wheeler
November 15, 2017
120
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Character Encodings
Alex Wheeler
November 15, 2017
More Decks by Alex Wheeler
See All by Alex Wheeler
Running Rings Around Rack
alexwheeler
0
90
Golang Concurrency
alexwheeler
0
95
Rewriting Rack: A Functional Approach
alexwheeler
2
170
Man Computer Symbiosis
alexwheeler
0
150
Flipper
alexwheeler
0
140
Transducers
alexwheeler
0
73
Featured
See All Featured
We Have a Design System, Now What?
morganepeng
55
8.3k
My Coaching Mixtape
mlcsv
0
310
Facilitating Awesome Meetings
lara
57
7.1k
Technical Leadership for Architectural Decision Making
baasie
3
560
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
970
Rebuilding a faster, lazier Slack
samanthasiow
85
9.6k
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
1
1.9k
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
1
400
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
290
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
320
KATA
mclloyd
PRO
35
15k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
Transcript
Counting Systems Why your Emojis Work on Twitter, but not
Tinder
None
The Beginning
Unary Numbers • I • II • IIIII • IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII
Romans
Romans
None
Why don’t we just use unique symbols? • Glyph -
any symbol used to represent some value • 1 2 3 4 5 6 7 8 9
None
Modern Counting Systems
Decimal • Latin decimus - tenth • 0 1 2
3 4 5 6 7 8 9
Positional Notation • way of encoding numbers • each position
related to the next by a constant multiplier called the base or radix • base 10
None
None
None
None
None
Binary • Latin binarius - consisting of two • Base
2
None
None
None
Bits and Bytes • Bit - The basic unit of
information in computing • i.e. 0 • Byte - unit of digital information consisting of 8 bits • i.e. 1000 0101
None
Hexadecimal • Greek hex - sixth; decimal - tenth •
base 16
base 16 • 0 1 2 3 4 5 6
7 8 9 A B C D E F
• 10 = ? • A • 255 = ?
• FF
So…what about the computers?
ASCII • American Standard Code for Information Interchange • 0-127
characters • 7 bits
None
Unicode • computing industry standard for encoding, representation, and text
expressed in most of the world’s writing systems • code points in range 0 -10FFFF
None
Hexadecimal Code Points • U+0061 = 97 = a •
U+005A = 122 = z • U+1F4A9 = 128169 = ?
UTF-8 • variable-width character encoding • capable of encoding all
unicode characters • backwards compatible with ASCII
• http://play.golang.org/p/PvVhLj_5kM • http://play.golang.org/p/pO97Yf5w-z
Thanks • @askwheeler • github.com/alexwheeler • alexwheeler.io