Тёмный

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

Gregg Ink
Подписаться 1,5 тыс.
Просмотров 12 тыс.
50% 1

Опубликовано:

 

20 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 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.
@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?
@Moe5Tavern
@Moe5Tavern Месяц назад
Thank you so much for the video! I really enjoyed it
@godnyx117
@godnyx117 2 года назад
Great video! Thanks a lot for your work!
@GreggInkCodes
@GreggInkCodes 2 года назад
You are welcome.
@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.
@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 7 месяцев назад
Bastante interesante el video. Gracias por la explicación.
@michalski9141
@michalski9141 2 года назад
ascii my beloved
@drumna
@drumna 3 года назад
great video! wondering why you got so few subscribers ^^
@GreggInkCodes
@GreggInkCodes 3 года назад
Thanks, I appreciate that.
@edwaoman2829
@edwaoman2829 2 года назад
I love your channel!
@GreggInkCodes
@GreggInkCodes 2 года назад
Thank you.
@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.
@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)
@philtoa334
@philtoa334 2 года назад
A very good channel !!
@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.
@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
Would you go on a Blind Date in Italy?
0:51
Просмотров 18 млн
Programming a multiplayer game from scratch in 7 DAYS
18:28
Arenas, strings and Scuffed Templates in C
12:28
Просмотров 89 тыс.
What is the Smallest Possible .EXE?
17:04
Просмотров 428 тыс.
ASCII and Unicode Character Sets
12:49
Просмотров 65 тыс.
Using a 1930 Teletype as a Linux Terminal
16:33
Просмотров 1,5 млн
Writing My Own Text Editor | Prime Reacts
16:10
Просмотров 98 тыс.