1
sherifhossny
Unicode Problem

Dear Sirs,
First i would like to thank you for this great modules
then i would like to ask about a small problem, i am designing my site in Arabic and i face a problem that any words writeen out side of the module conent, for example the footer, it appears as scratch, how could i make it default Windows Arabic for unicode
waiting for your reply

2
teibaz
Re: Unicode Problem
  • 2005/9/18 11:51

  • teibaz

  • Not too shy to talk

  • Posts: 103

  • Since: 2004/6/13


did you set

language\your_lang\global.php
define('_CHARSET', 'charset that you need'); ?

3
sherifhossny
Re: Unicode Problem

Dearteibaz,
thanks a lot for your help
i have edited the file to ('_CHARSET', 'Arabic-windows) and it's working perfectly now

many thanks

4
Muslimin
How to include Unicode fonts?
  • 2005/9/19 9:49

  • Muslimin

  • Just popping in

  • Posts: 11

  • Since: 2005/9/19


Salam and Greetings!


//%%%%%% File Name xoopscodes.php %%%%%
define("_CHARSET","Arabic-windows");
define("_SIZE","SIZE"); // font size
define("_FONT","FONT"); // font family
define("_COLOR","COLOR"); // font color


--------->Is the above coreect?



We need to use the font family: a_nefel_adeti_qelew and trad_arabic.


How to include these fonts so that our articles and news can display Arabic characters correctly with all the reading signs ?

We also use SMF forum which can easily display fonts as desired. When typing, user specify <font face="a_nefel_adeti_qelew">text </font>.

When using Xooops, the only choice is Arial/Verdana/... which present problems displaying Arabic/non Roman texts.

مسلمين

مُسلِمِينَ

See the demo above.

5
teibaz
Re: How to include Unicode fonts?
  • 2005/9/19 10:30

  • teibaz

  • Not too shy to talk

  • Posts: 103

  • Since: 2004/6/13


you have to edit your ritch text editor then.

6
Muslimin
Problem settled!
  • 2005/9/19 11:10

  • Muslimin

  • Just popping in

  • Posts: 11

  • Since: 2005/9/19


Thank you TEIBAZ!


BTW I am using another computer which is Windows XP and the problem is resolved. What about Linux? I never used Linux PC but don't they come complete with international fonts?


Previous computer is Windows ME.


I think by default Windows XP have suitable fonts which BEST DISPLAY non-ROman Unicode characters without the separation problem.


OK so for those who have problem with Arabic or non-Roman characters:

-You don't have to change anything in the language/global.php
-You don't have to include your desired fonts/font family in your style.css
-*Note: only for Arabic, donno what happened or how to deal with Chinese, Japanese, etc though:0
-*I have very little proficiency in Arabic though, the purpose of all this is to display Quranic texts with the reading signs

Just use the command
text - some computers will see it correctly, some don't.

Demo: I pasted here the Arabic text with font command [ font=?] specified

وَلاَ تَتَّبِعُواْ خُطُوَاتِ الشَّيْطَانِ إِنَّهُُ' لَكُمْ عَدُوّ ٌ مّـُبِينَ



Salam and cheers!

Login

Who's Online

227 user(s) are online (152 user(s) are browsing Support Forums)


Members: 0


Guests: 227


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits