Can I add a other language in c ? | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
+ 1

Can I add a other language in c ?

Example: we all the codes are write in English but I want to add some sentence of other language like Hindi.

12th Jun 2020, 5:18 PM
SARVESH ASHOK DEVRUKHAKAR
SARVESH ASHOK DEVRUKHAKAR - avatar
5 Respuestas
+ 2
C as of C99 supports something like wide characters. Make no mistake, WIDE CHARACTER IN C ARE NOT THE SAME AS UTF-8, but they still comply to the Unicode Standard. Since, Unicode Standard has a lot of characters from a lot of Character Sets you can use these to output other languages. You can find the Wide Characters the Standard Libraries of C99. C11 Also Supports UTF-8 So using many languages shouldn't be a problem. Here is a demo on Wide Characters, you might not see them as they are not Standard UTF-8 and this site only supports UTF-8. https://code.sololearn.com/c63K2x5yAnYR/?ref=app
12th Jun 2020, 6:49 PM
Anubhav Mattoo
Anubhav Mattoo - avatar
+ 3
You can use unicode characters. https://code.sololearn.com/cv8F7C6FfB52/?ref=app
12th Jun 2020, 6:07 PM
Avinesh
Avinesh - avatar
+ 3
Yes u can write hindi use unicode in program
13th Jun 2020, 3:04 AM
A S Raghuvanshi
A S Raghuvanshi - avatar
+ 1
Like (मी आहे) this sentence.
12th Jun 2020, 5:35 PM
SARVESH ASHOK DEVRUKHAKAR
SARVESH ASHOK DEVRUKHAKAR - avatar
- 2
Hii
12th Jun 2020, 5:27 PM
Volcino MC.
Volcino MC. - avatar