[Phpmyadmin-devel] Use utf-8 for ChangeLog

Alexander M. Turek alexander.turek at stud.uni-karlsruhe.de
Mon Apr 19 15:17:04 CEST 2004


Hi Olivier and list,

Olivier Mueller wrote:
> > > 
> > > Ok let's try it! Can you commit the file?
> > Done. I hope iconv did a good job on it :-)
> 
> it did but of course the browser still thinks it's "normal iso text":
> http://admin.omnis.ch/mysql-dev/ChangeLog
> (looks wrong here with mozilla, but fine with opera!)

Apache just has to send a correct Content-Type header. Could this be done
with a proper .htaccess file?

If not, we could build a small php script for this purpose:

<?php

header('Content-Type: text/plain; charset=utf-8');
readfile('./ChangeLog');

?>

> to make it looks correct, default content type at apache 
> level should be changed to utf8... no sure if it's really the 
> best way... ?

Should work, too.

> I vote for a 7bit changelog :)

Is this why you avoid writing the umlaut in your last name? Be proud of it!
:o)

Regards,

-- 

Alexander M. Turek
<rabus at users.sourceforge.net>

       _           __  __          _       _           _
 _ __ | |__  _ __ |  \/  |_   _   / \   __| |_ __ ___ (_)_ __
| '_ \| '_ \| '_ \| |\/| | | | | / _ \ / _` | '_ ` _ \| | '_ \
| |_) | | | | |_) | |  | | |_| |/ ___ \ (_| | | | | | | | | | |
| .__/|_| |_| .__/|_|  |_|\__, /_/   \_\__,_|_| |_| |_|_|_| |_|
|_|         |_|           |___/ 
                                    <http://www.phpmyadmin.net>






More information about the Developers mailing list