Loading...
 
Skip to main content

Development


Character encoding

Hi, everybody again!

I'm a very-very beginner from Hungary. Hungarian alphabet has some special characters. The ISO-8859-2 and utf-8 contains these special characters. Where can I set the used characterset? I used tiki-user_preferences.php to set it and there I chose the utf-8. I use the theme called moreneat. In the beginning of the tiki.tpl after these rows

{* $Header: /cvsroot/tikiwiki/tiki/templates/styles/moreneat/tiki.tpl,v 1.14.2.8 2006/09/10 18:06:02 ohertel Exp $ *}


I wrote this html tag:
meta http-equiv="Content-Type" content="text/html; charset=utf-8"

In the beginning of the tiki-show_page.tpl after this row
{* $Header: /cvsroot/tikiwiki/tiki/templates/styles/moreneat/tiki-show_page.tpl,v 1.28.2.24 2006/02/22 03:49:01 luciash Exp $ *}

I wrote this html tag:
META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">

I allowed html tags in wiki pages. But it doesn't work. In the content(where hungarian special characters are) there are many question marks.

Has someone any solution?

Thanks

No file editing should be needed to show Hungarian text. On the Admin Internationalization page (tiki-admin.php?page=i18n in newer Tiki releases), you can set the site's default language to Hungarian (Magyar, hu). I think this setting is on Admin > General in older Tiki versions.

If you check "Detect browser language" then Tiki will find the user's browser language preference and display the site accordingly.

-- Gary