UTF-8 Encoding and Languages

The Easy PHP Calendar will work with many different languages. The default encoding of the calendar is UTF-8. This is generally the web standard and there are no known issues with the calendar using this encoding format.

It is highly recommended that your pages also be set to the UTF-8 encoding format so that everything will display as expected. However, if you need a different encoding for your pages, in most instances, you can simply edit the calendar settings and change the encoding type to match your requirements. Please note, if you change the encoding format after entering events, the events may need to be re-entered as they were saved in the old encoding format.

In some instances, changing the encoding format of the calendar may not be the best solution and it may not produce the desired results. In this situation, it is best to leave the calendar set to UTF-8 and use built-in functions of PHP to convert the calendar output to your page encoding format.

In this example, the output of the calendar is converted from UTF-8 to Windows-1253 (Greek) to display inside of a Windows-1253 encoded page:

iconv_set_encoding("internal_encoding", "UTF-8");
iconv_set_encoding("output_encoding", "Windows-1253//TRANSLIT");

The key here is to wrap the calendar "require" statements with the additional PHP iconv encoding code (as shown above).


To find and/or change the encoding of your pages (not the calendar), look at the raw HTML and, usually near the top, for the charset:

<meta http-equiv="content-type" content="text/html; charset=utf-8" />

Bu cevap yeterince yardımcı oldu mu?

 Bu dökümanı yazdır

Also Read

Server Path Issues

Server path issues usually occur when the calendar is moved from one server or directory to...

Calendar stopped working

So, the calendar was working wonderfully, but suddenly it has stopped. This guide will help to...

How to use $thisFile

In some instances, PHP will not be able to provide the calender with the correct file name of the...

Forgotten Password

To reset a forgotten master password:1) Download the calendar files from your Client Area that...

Why do background colors not show (white boxes)?

This generally happens when the categories haven't been properly saved. To fix this, log in to...