No video

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

  Рет қаралды 11,424

Gregg Ink

Gregg Ink

Күн бұрын

Пікірлер: 39
@Dolberggames
@Dolberggames Жыл бұрын
this video was just excellent in every aspect, I watched several other videos but this finally helped me get it
@Moe5Tavern
@Moe5Tavern 8 күн бұрын
Thank you so much for the video! I really enjoyed it
@cliffmathew
@cliffmathew Жыл бұрын
The first video that clearly explained the multibyte codepoint. Thanks!
@GreggInkCodes
@GreggInkCodes Жыл бұрын
You are welcome.
@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.
@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.
@jorgevnueva
@jorgevnueva 6 ай бұрын
Bastante interesante el video. Gracias por la explicación.
@michalski9141
@michalski9141 2 жыл бұрын
ascii my beloved
@edwaoman2829
@edwaoman2829 2 жыл бұрын
I love your channel!
@GreggInkCodes
@GreggInkCodes 2 жыл бұрын
Thank you.
@drumna
@drumna 3 жыл бұрын
great video! wondering why you got so few subscribers ^^
@GreggInkCodes
@GreggInkCodes 3 жыл бұрын
Thanks, I appreciate that.
@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.
@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 2 жыл бұрын
I have a question , please
@GreggInkCodes
@GreggInkCodes 2 жыл бұрын
Yes?
@md_ez
@md_ez 2 жыл бұрын
@@GreggInkCodes Do you have an account on a social media website ?
@GreggInkCodes
@GreggInkCodes 2 жыл бұрын
@@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 2 жыл бұрын
@@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++
@philtoa334
@philtoa334 Жыл бұрын
A very good channel !!
Unicode Encoding! UTF-32, UCS-2, UTF-16, & UTF-8!
24:52
EmNudge
Рет қаралды 48 М.
Writing My Own Text Editor | Prime Reacts
16:10
ThePrimeTime
Рет қаралды 96 М.
Whoa
01:00
Justin Flom
Рет қаралды 54 МЛН
Characters, Symbols and the Unicode Miracle - Computerphile
9:37
Computerphile
Рет қаралды 2 МЛН
Unicode vs UTF-8
9:11
Daniel Duan
Рет қаралды 29 М.
Web programming (CGI) in C
25:27
Gregg Ink
Рет қаралды 24 М.
What are UTF-8 and UTF-16? Working with Unicode encodings
9:37
Erik Wilde
Рет қаралды 20 М.
Arenas, strings and Scuffed Templates in C
12:28
VoxelRifts
Рет қаралды 85 М.
CppCon 2014: James McNellis "Unicode in C++"
59:40
CppCon
Рет қаралды 19 М.
Whoa
01:00
Justin Flom
Рет қаралды 54 МЛН