Author Topic: arabic/persian strings and chars in code blocks  (Read 4509 times)

sahand.abs

  • Guest
arabic/persian strings and chars in code blocks
« on: January 02, 2019, 10:03:08 am »
hey every one i am using code blocks and i want to use arabic or persian strings in the code that i am writing
i 've searched every where but didnt found anything that work
will any one help me plz?
i am using win 7 64 bit
and code blocks 17.12

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 3353
Re: arabic/persian strings and chars in code blocks
« Reply #1 on: January 03, 2019, 11:46:11 am »
On windows it is dam hard to do (for any language)...
What programming language will you use? c or c++?
You can use the standard arabic code page of your system and save the source file in this codepage and use wchar wcout and so on, or you use UTF-8
like i described here:
http://forums.codeblocks.org/index.php/topic,22168.msg150872.html#msg150872


NOTE: this is a limitation of windows and c/c++, not codeblocks...