1

Topic: Unicode support in New Pages

Dear admin!Though the site script support, Unicode characters and languages such as Mangal (Hindi). But, When a new page is created using the addon, it appears as "  ??????"
How can we edit htaceess files or aany other approch... to let the unicode appear in single page.

Thumbs up Thumbs down

2

Re: Unicode support in New Pages

Change the encoding of the page "file" into UTF-8 and paste the contents ( Any language based on unicode format) and save the file and upload it.

Now you can view the content trouble free.

Install Turnkey Web Scripts start your own profit portals
Do someMicro Jobs and earn decent money on your part time

3

Re: Unicode support in New Pages

which file will carry the character encoding. about.php in en(outside)about.php (in controllers) or about .php in theme/html
can you please provide a sample character encoding text. I tried the one, we use while making an html template. May be I am wrong with its placement.

Thumbs up Thumbs down

4

Re: Unicode support in New Pages

You should put your contents on the file "about.php" in "themes/themesname/about.php"

I hope you  from Indian so you better understand Hindi. Here is the two sentences  of Hindi unicode format


हाउ अरे यू ?. इ ऍम फिन!

That means : How are you? I am Fine!

You can use this for the test purposes .If you want more typing you may use  Google Transliterate Service

Install Turnkey Web Scripts start your own profit portals
Do someMicro Jobs and earn decent money on your part time

5

Re: Unicode support in New Pages

I type in Hindi unicode. I mean to ask, which file should have : charactrer encoding as utf I tried using this piece of code at the top of the file -themes/html/ about.php

<meta http-equiv="Content-type" value="text/html; charset=UTF-8" />

NO use|
I tried it placing in controllers/about.php  ( No use)and I tried this in lang/en/outside/about.php ( NO use)
So which file I need to encode for UTF characters . Please provide a sample code to fill in the file.

Thumbs up +1 Thumbs down

6

Re: Unicode support in New Pages

You have to put the unicode content only in "themes/themesname/about.php" file "


what you have did inthis code is " <meta http-equiv="Content-type" value="text/html; charset=UTF-8" />" instructing the browser that it contains the UTF-8 format. This step is optional but recommended .

What you have do before doing this is, you should make the file encoding  into "UTF-8" format. if your default notepad won't allowed to do this then ,you can use " Notepad++" which is a handy tool available free

In Notepad editor  goto "Encoding " menu and select " Encode in UTF-8" .Then paste the unicode content. Save now .And update with your server.

View the file For E.g http://sitename.com/about   ( not with .php extension) .

Install Turnkey Web Scripts start your own profit portals
Do someMicro Jobs and earn decent money on your part time

7

Re: Unicode support in New Pages

yes! that worked well!
Thanks ! great smile

Thumbs up +1 Thumbs down