PDA

View Full Version : Visual Experience template: problem with accents


ilmariel
07-10-2005, 05:42 PM
Hello!
I like this design but I see a problem with accents. For example, in my note, the word "musée" (museum in english) is write with bizarre characters. How to solve this problem? See my site: http://vm.ilmariel.net

--------------------------

Host Information
PHP-version 4.3.11 (Pixelpost's min requirement: PHP version 4.3.0)

MySQL version 4.0.24-standard (Pixelpost's min requirement: MySQL 3.23.58)

GD-lib bundled (2.0.28 compatible) with JPEG support

Server software Apache/1.3.33 (Unix) mod_gzip/1.3.26.1a mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 PHP/4.3.11 FrontPage/5.0.2.2634a mod_ssl/2.8.22 OpenSSL/0.9.7a

EXIF Pixelpost is using exifer v1.5 for EXIF information.

Paths
Guessed imagepath: ../vm/images/

Configured Imagepath ../vm/images/

Image Directory: OK - Can we write to the directory? YES.

Thumbnails Directory: OK - Can we write to the directory? YES.

Language Directory: OK

Addons Directory: OK

Includes Directory: OK

Templates Directory: OK


~ilmariel

Connie
07-10-2005, 05:51 PM
Ilmariel,

the solution is very simple and easy:

<!-- Visual 0.5 - Author: turnover@gmail.com | www.visual-experience.com | 20 May 2005 -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />


1. set the codepage to UTF-8, as the whole input is in UTF-8:
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />

2. not so important, but it could disturb validation:

take off the comment before <DOCTYPE.....>
no text should be before <DOCTYPE..>

a comment is an element in the <body> or <head> of a HTML-page, not before the <DOCTYPE...>

<!-- Visual 0.5 - Author: turnover@gmail.com | www.visual-experience.com | 20 May 2005 -->

a message to all template-authors:
validate please! :cry:

ilmariel
07-10-2005, 06:25 PM
aaahhh !
Thank you very much Connie ! Now it's correct ;)