Hello,
I am trying to develop web site with my own language Marathi from INDIA.
I had installed reqd. templets and languages, also joomla shows web site in Marathi language
but when i place some text content in php pages. i can see only question marks (??????? ??? ???????).
I need some guidence, please tell me how i can use required language in php pages.
Amit Vedak
Devyani CAD Software Developments
http://www.devcs.com
Marathi (Indian language) in joomla PHP
Moderator: General Moderators
- mecha_godzilla
- Forum Contributor
- Posts: 375
- Joined: Wed Apr 14, 2010 4:45 pm
- Location: UK
Re: Marathi (Indian language) in joomla PHP
You need to check what character set is defined in your templates. As an example, for this site the following code is used:
If your template is currently set to something different, try changing to UTF-8 to see what happens. If that doesn't work then I would suggest that you try and find some other sites that use Marathi and look at the page source to see what they're using. Also, I found this post on another site that might help:
http://www.imc.org/ietf-822/old-archive1/msg03218.html
This post is quite old though, so you might want to check the official Unicode site:
http://www.unicode.org/
I think the general rule is that you always try to use UTF-8 wherever possible, but if this isn't working then you need to choose a specific encoding type. If you design your pages in Dreamweaver, you might also want to make sure that it's saving your page template properly (if you create a page using the default charset and then manually change it to UTF-8 you have to use the 'Save As...' as just saving the file on its own won't work.)
HTH,
Mecha Godzilla
Code: Select all
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />http://www.imc.org/ietf-822/old-archive1/msg03218.html
This post is quite old though, so you might want to check the official Unicode site:
http://www.unicode.org/
I think the general rule is that you always try to use UTF-8 wherever possible, but if this isn't working then you need to choose a specific encoding type. If you design your pages in Dreamweaver, you might also want to make sure that it's saving your page template properly (if you create a page using the default charset and then manually change it to UTF-8 you have to use the 'Save As...' as just saving the file on its own won't work.)
HTH,
Mecha Godzilla