php-i18n Digest 22 May 2002 14:06:17 -0000 Issue 110
Topics (messages 258 through 259):
Re: Opinion of cleanest/fastest php i18n solution.
258 by: list peters
Does Oracle OCI interface work with multi-byte charsets?
259 by: Robert.Earls.lis.co.uk
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 ---
Hello list and naoki,
I have just started coding php applications after using cold fusion for 2
years.
I live/work in japan and develop bi-lingual applications.
It is exciting to see something like the PEAR I18N class, however I have no
idea on how to use it, or what features/benefits it may offer.
(in fact I have heard good things about PEAR classes, but have no idea how
to use it, or what it does).
Is there a newbie guide to using pear, or general tips on making a
multi-lingual site (specifically interested in EN and JP)?
Any help would be appreciated. Cold Fusion (until the next MX version)
didnt support functions on multi-byte strings. Caused me lots of problems.
looking forward to hearing from you
thanks
chad
> Hello Jeff,
>
> Actually, I wrote the PEAR I18N class with Wolfram Kriesing.
> We aimed at providing generic API that have gettext like functionality.
>
> There is only File Container for now. It can be used without gettext
module
> for people who don't have authority to recompile/install PHP. (i.e. Shared
> server users)
> but Gettext Container(wrapper) is planned for future release. That way,
> developer will be able to switch container(File, Gettext) without
modifying
> your
> script.
>
> Other than that, I18N provides language negotiation,
> ISO-639-1 two letter language code to language name mapping,
> and ISO-3166 two letter country code to country name mapping.
>
> Either way, I could happily deployed Japanese/English web site.
>
> Naoki Shima
>
> -----Original Message-----
> From: Jeff Bailey [mailto:[EMAIL PROTECTED]]
> Sent: Friday, May 10, 2002 10:38 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP-I18N] Opinion of cleanest/fastest php i18n solution.
>
>
> I'm in the process of evaluation the various ways to implement an
> interationally supported web application using php. So far i've taken a
> look at two standards based routes.
>
> 1. Pear i18n located in the cvs.php.net repository.
>
>
http://cvs.php.net/cvs.php/pear/I18N?Horde=694161bb2ea40c04dfc77f8647bdc983
>
> 2. Gettext which is a function support extension within php.
>
> The Pear i18n code is experimental so I would venture to guess that the
> gettext solution leave something to be desired within php if it is
something
> being worked on within the Pear project.
>
> I'd just like to get some opinions from other people that have implemented
> internationally support php driven websites on this mailing list.
>
> The main things that I am looking for are clean "standardized" code,
speed,
> 100% support for the major languages including Japanese, Chinese, etc..
>
> Thanks,
> -Jeff
>
>
> --
> PHP Internationalization Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
> --
> PHP Internationalization Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--- End Message ---
--- Begin Message ---
Hi,
My i18n project has come to a grinding halt!
When I use the OCIFetchInto function, to get a column from a UTF-8
database, the returned values do not appear to be correct.
e.g
a column with a single 3 byte character ( E594B4 ) is returned as ( BF )
Is there any way to confirm that this function works correct;ly with
variable length character strings?
I really am stumped on this one, and would appreciate any pointers you can
give em.
-------------------------------------------------
Robert Earls
Internet Technology Technical Consultant
LIS
T: + 44 (0)1628 859800
W: www.lis-online.com
LIS is a leading supplier of warehouse management system
software as well as one of the fastest growing supply chain
execution companies in the world
--------------------------------------------------
--- End Message ---