User forums > General (but related to Code::Blocks)
Question about Arabic Language Support in Code::Blocks
(1/1)
simodz40:
Hello everyone, 8)
I am using Code::Blocks version 20.03 and I am facing some issues with supporting Arabic characters in my program. I would like to know the best ways to ensure that my program supports Arabic characters correctly. Could you please help me
MehdiChinoune:
--- Quote from: simodz40 on November 28, 2024, 09:28:46 pm ---Hello everyone, 8)
I am using Code::Blocks version 20.03 and I am facing some issues with supporting Arabic characters in my program. I would like to know the best ways to ensure that my program supports Arabic characters correctly. Could you please help me
--- End quote ---
What do you mean?
CodeBlocks is just an IDE.
I assume you are programming in C++, if so then It's something related to the C++ compiler and the encoding you use to write your program. It's recommended to use UTF8 encoding as It supports wide range of writing systems.
Some Terminals/Consoles don't support no-ascii/no-Latin characters. so you should choose a suitable terminal.
stahta01:
https://wiki.codeblocks.org/index.php/FAQ-General#Q:_What_Code::Blocks_is_not.3F
--- Quote ---Code::Blocks is not a compiler, nor a linker. Release packages of Code::Blocks may include a compiler suite (MinGW/GCC), if not provided by the target platform already. However, this is provided "as-is" and not developed/maintained by the Code::Blocks development team.
--- End quote ---
everSome:
I think you are in for a steep learning curve. Code::Blocks itself uses wxWidgets to implement its GUI. You could also use it if need be. In addition, the Font used to display your Arabic script may well make a difference. A quick look at Unicode Blocks that mention Arabic shows:
Arabic 0600
Arabic Supplement 0750
Arabic Extended-B 0870
Arabic Extended-A 08A0
Arabic Presentation Forms-A FB50
Arabic Presentation Forms-b FE70
Arabic Extended-C 10EC0
Arabic Mathematical Alphabetic Symbols 1EE00
Note that any code points above 10000 will force the usage of surrogate pairs when using UTF-16, as Unicode uses 21 bits to denote code points. You might want to look at the following:
* wxWidgets Unicode support: https://docs.wxwidgets.org/3.2/overview_unicode.html
* Unicode Design Principals: https://www.unicode.org/versions/Unicode16.0.0/core-spec/chapter-2/#G128
* International Components for Unicode: https://icu.unicode.org/
Navigation
[0] Message Index
Go to full version