Understanding text for C Programmers (UTF-8, Unicode, ASCII)

  Рет қаралды 12,219

Gregg Ink

Gregg Ink

Күн бұрын

Пікірлер: 39
@Dolberggames
@Dolberggames 2 жыл бұрын
this video was just excellent in every aspect, I watched several other videos but this finally helped me get it
@cliffmathew
@cliffmathew Жыл бұрын
The first video that clearly explained the multibyte codepoint. Thanks!
@GreggInkCodes
@GreggInkCodes Жыл бұрын
You are welcome.
@Moe5Tavern
@Moe5Tavern 3 ай бұрын
Thank you so much for the video! I really enjoyed it
@mar5253
@mar5253 3 жыл бұрын
Well explained video!. Back when i did my first win32 program i just did what you said and went with ASCII.
@godnyx117
@godnyx117 2 жыл бұрын
For how many years ago we are talking about?
@godnyx117
@godnyx117 2 жыл бұрын
Great video! Thanks a lot for your work!
@GreggInkCodes
@GreggInkCodes 2 жыл бұрын
You are welcome.
@edwaoman2829
@edwaoman2829 2 жыл бұрын
I love your channel!
@GreggInkCodes
@GreggInkCodes 2 жыл бұрын
Thank you.
@jorgevnueva
@jorgevnueva 9 ай бұрын
Bastante interesante el video. Gracias por la explicación.
@michalski9141
@michalski9141 2 жыл бұрын
ascii my beloved
@elias-sk
@elias-sk 2 жыл бұрын
Im trying to get å ä ö into my program. I didnt really understand why at 12:57 line 86 uint32_t. Is this just how utf-caracters are declared?
@GreggInkCodes
@GreggInkCodes 2 жыл бұрын
A codepoint can have a value of up to 1.1 million. Using a uint32_t is used just to make sure I have enough space.
@philtoa334
@philtoa334 2 жыл бұрын
A very good channel !!
@someoneisasking8330
@someoneisasking8330 3 жыл бұрын
ok the explanations is amazing. no too in-depth but enough for me to understand the basic of how UTF-8 came about. Wish you could say more about why is UTF 8 better than UTF 16 :)
@GreggInkCodes
@GreggInkCodes 3 жыл бұрын
It is because UTF-16 wastes memory. UTF-16 will always use either 2 or 4 bytes even when 1 is enough. UTF-8 uses just one byte for the old 7-bit ASCII.
@someoneisasking8330
@someoneisasking8330 3 жыл бұрын
@@GreggInkCodes I see. Thank you.
@drumna
@drumna 3 жыл бұрын
great video! wondering why you got so few subscribers ^^
@GreggInkCodes
@GreggInkCodes 3 жыл бұрын
Thanks, I appreciate that.
@nonamearmyid50
@nonamearmyid50 2 жыл бұрын
Hey bro. can you help me how to open utf-8 file ?
@GreggInkCodes
@GreggInkCodes 2 жыл бұрын
You open it just like any other file. Of course, if you want to display its contents, you need an editor which supports unicode.
@md_ez
@md_ez 3 жыл бұрын
I have a question , please
@GreggInkCodes
@GreggInkCodes 3 жыл бұрын
Yes?
@md_ez
@md_ez 3 жыл бұрын
@@GreggInkCodes Do you have an account on a social media website ?
@GreggInkCodes
@GreggInkCodes 3 жыл бұрын
@@md_ez I have a reddit account. Every time I post a video, I notify people of the C_Programming subreddit. (www.reddit.com/user/gregg_ink) There 2 main projects I currently work on. 1) This youtube channel. 2) I am writing a sci-fi novel. I have an account on instagram but I use that primarily to stay in touch with fellow writers. (@greggink) I have a twitter account but I haven't posted in quite a while (@Gregg_Ink).
@md_ez
@md_ez 3 жыл бұрын
@@GreggInkCodes I have messaged you.
@KangJangkrik
@KangJangkrik 2 жыл бұрын
Sorry for a year late Mr. Professor, may I enter?
@GreggInkCodes
@GreggInkCodes 2 жыл бұрын
Always welcome.
@KangJangkrik
@KangJangkrik 2 жыл бұрын
@@GreggInkCodes thank you sir! (proceed to enter class with sandals)
@lihuseynzad6983
@lihuseynzad6983 3 жыл бұрын
your code not working
@GreggInkCodes
@GreggInkCodes 3 жыл бұрын
Can you elaborate? All code is tested before I put it in the video. You can see that I run and demonstrate the code in the video so it is clearly working. If you are going to claim something is not working, it obviously needs a bit of explaining.
@lihuseynzad6983
@lihuseynzad6983 3 жыл бұрын
@@GreggInkCodes I use Dev C++ I try use this code but not working
@GreggInkCodes
@GreggInkCodes 3 жыл бұрын
@@lihuseynzad6983 Well, I don't know. Are you running it on Windows or on Linux? The code is designed for Linux, I don't think that the Dos prompt does support emojis. It could be any number of things, like for example maybe a setting within dev c++. Have you tried using gcc like I demonstrate in the video?
@lihuseynzad6983
@lihuseynzad6983 3 жыл бұрын
@@GreggInkCodes Now I understand why your code not working Because I use this code on Windows
@lihuseynzad6983
@lihuseynzad6983 3 жыл бұрын
@@GreggInkCodes Can you help me ? I want to print unicode character but I can't find library for C++
Unicode Encoding! UTF-32, UCS-2, UTF-16, & UTF-8!
24:52
EmNudge
Рет қаралды 51 М.
Arenas, strings and Scuffed Templates in C
12:28
VoxelRifts
Рет қаралды 93 М.
小路飞和小丑也太帅了#家庭#搞笑 #funny #小丑 #cosplay
00:13
家庭搞笑日记
Рет қаралды 9 МЛН
黑天使只对C罗有感觉#short #angel #clown
00:39
Super Beauty team
Рет қаралды 14 МЛН
Thank you Santa
00:13
Nadir Show
Рет қаралды 51 МЛН
Smart Sigma Kid #funny #sigma
00:33
CRAZY GREAPA
Рет қаралды 30 МЛН
Characters, Symbols and the Unicode Miracle - Computerphile
9:37
Computerphile
Рет қаралды 2 МЛН
How Senior Programmers ACTUALLY Write Code
13:37
Thriving Technologist
Рет қаралды 1,6 МЛН
What is the Smallest Possible .EXE?
17:04
Inkbox
Рет қаралды 523 М.
Ep 020: Unicode Code Points and UTF-8 Encoding
19:07
Intermation
Рет қаралды 40 М.
Advanced C: The UB and optimizations that trick good programmers.
1:12:34
Eskil Steenberg
Рет қаралды 176 М.
CppCon 2014: James McNellis "Unicode in C++"
59:40
CppCon
Рет қаралды 19 М.
Interesting Characters (UTF-16, utf-8, Unicode, encodings)
1:03:00
Dear Game Developers, Stop Messing This Up!
22:19
Jonas Tyroller
Рет қаралды 734 М.
小路飞和小丑也太帅了#家庭#搞笑 #funny #小丑 #cosplay
00:13
家庭搞笑日记
Рет қаралды 9 МЛН