Login   Register  
PHP Classes
elePHPant
Icontem

how to use other languages.

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

      EPub  >  All threads  >  how to use other languages.  >  (Un) Subscribe thread alerts  
Subject:how to use other languages.
Summary:i have a web project to user can create ebook by you php class
Messages:2
Author:porchn
Date:2011-07-21 07:47:04
Update:2011-07-21 08:59:07
 

  1. how to use other languages.   Reply   Report abuse  
Picture of porchn
porchn
2011-07-21 07:47:05
i have a web project to user can create ebook by you php class. but i can't use other languages.

  2. Re: how to use other languages.   Reply   Report abuse  
Picture of Asbjorn Grandt
Asbjorn Grandt
2011-07-21 08:59:07 - In reply to message 1 from porchn
What are the problems you are experiencing ?

You should be able to use other languages in the books, but the filenames must be in ASCII for now.
Also, remember to use UTF-8 encoding in the XHTML files and specify this in their headers.

For instance, start them with:

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
...


Cheers
Asbjørn