RE: [PHP-DOC] How to specify the encoding of output HTML files?

From: Date: Sun, 14 Jul 2002 12:43:24 +0000
Subject: RE: [PHP-DOC] How to specify the encoding of output HTML files?
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969347256@lists.php.net to get a copy of this message
Thank you for your help! The full name of the Simplefied Chinese encoding is just 'gb2312' and it is exactly: <META HTTP-EQUIV="Content-type" CONTENT="text/html; charset=gb2312"> The reason I'd like to change the style of the output HTML files, is that the Chinese Grammar requires 4ex indent in each paragraph, and the default font for the western character and digits is not 'Times New Roman' but 'MingLiu', which is the default font for Chinese, but it's botchy for western characters, such as bold 'M', etc... Meanwhile, the default size is 16px, but if the Chinese characters are set as 14px in 'Times New Roman', they displays perfect in paragraph. As a result, I should set the default style of paragragh as {font-family: Times New Roman; font-size: 14px; text-indent: 4ex}. Gregory -----Original Message----- From: Gabor Hojtsy [mailto:gabor@hojtsy.hu] Sent: Sunday, July 14, 2002 5:28 PM To: Gregory Song; phpdoc@lists.php.net Subject: Re: [PHP-DOC] How to specify the encoding of output HTML files? What's the full name of that encoding? Is it "gb2312", so meta should look like: <META HTTP-EQUIV="Content-type" CONTENT="text/html; charset=gb2312"> If this is right, then I'll add the needed things to configure. To change the sytle, you need to tweak the DSSSL sheets used for generation of the howto HTML. Please be aware that this will also affect display of English howto (unless you add your own stylesheet). BTW what would you like to change in the display?? Goba > Hey, we've translated the PHP Documentation HOWTO into simplefied Chinese (GB2312). > I did run the following : > > autoconf > ./configure --with-lang=zh > > And after I gain the HTML files with 'make howto', my files are content such line: > > <META HTTP-EQUIV="Content-type" CONTENT="text/html; > charset=iso-8895-1"> > > and the charset is surposed to be 'gb2312', I did changed the default charset in those XML file, what should I do to make the output have GB2312 encoding? > > And I've got another question, Can I change some of the style of the output HTML, what should I do? > >

« previous php.doc (#969347256) next »