php-i18n Digest 27 Aug 2003 10:03:08 -0000 Issue 192
Topics (messages 610 through 611):
Re: Performance matter
610 by: Evan Owens
mb_http_output question
611 by: Jean-Christian IMbeault
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[EMAIL PROTECTED]
----------------------------------------------------------------------
--- Begin Message ---
I would *assume* that gettext would have the best performance.. Though I can't back
this up.
Anyone?
-----Original Message-----
From: Zygimantas Berziunas [mailto:[EMAIL PROTECTED]
Sent: 2003/08/22 (金) 2:51
To: [EMAIL PROTECTED]
Cc:
Subject: [PHP-I18N] Performance matter
What do you think it is better for performance of multilingual site: 1 -
define all messages in one english.lang file as constants, 2 - define
current page messages in english.page.lang as constants 3 - parse all
messages as variables in array using parse_ini_file and file english.ini 4 -
parse current page messages as variables in array using parse_ini_file and
file page.english.ini? more suggestions maybe?
--
PHP Internationalization Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
I have a bunch of HTML pages written in EUC-JP and I would like to have
them automatically translated to SJIS when the server calls them up. I
thought that I could have my web server (Apache) treat the files as PHP
by setting:
AddType application/x-httpd-php .html
And then having PHP translate the pages from EUC-JP to SJIS but ...
I have tried these settings in php.ini but I all the pages turned out to
be moji-bake:
mbstring.http_output = SJIS
output_handler = mb_output_handler
What is the proper way for me to configure PHP so that it will
automagically translate all the pages to SJIS?
Thanks!
Jean-Christian Imbeault
--- End Message ---