php-i18n Digest 25 Aug 2008 13:11:00 -0000 Issue 408
Topics (messages 1283 through 1284):
Using php_intl in PHP 5.3 alpha on windows
1283 by: Mike McKenzie
Re: UTF-8 Japanese goes into MySQL OK, comes out question marks
1284 by: Maxime P
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 was wondering if someone could help me with a problem I've been having
using the new php_intl.dll extension. I've taken the latest Win32
snapshot from 2008/08/15 and I have enabled the intl extension. I have
also placed all the ICU 3.6 DLLs, which I have downloaded from the ICU
project site, and placed them in my system32 folder. The problem I have
is that when I try to use the php command to perform a simple test I get
the following error.
"The procedure entry point
[EMAIL PROTECTED]@icu_3_6@@QBEHPAGHAAW4UErrorCode@@@Z could not be
located in the dynamic link library icuuc36.dll."
Would anyone happen to know why this is being caused? I have even built
my own ICU DLLs from source just to see if I could fix it but
unfortunately it made no difference.
I realize that this is an alpha release and that there will be bugs but
I would really like to start using this extension now as I can not wait
until the official release date. Previous attempts I made to build the
intl DLL myself have been unsuccessful and so I was hopping that someone
here would have a solution.
Thanks,
Mike (trulogik at gmail dot com)
--- End Message ---
--- Begin Message ---
Hi,
I have the same problem, can you say me how you resolve this?
Thank you in advance!
Richard Pavonarius wrote:
>
> OK, this is officially driving me nuts.
>
> In phpMyAdmin, I can see the Japanese text in the db. By sending the
> query SET NAMES 'utf8' before inserting data, I can get my own PHP
> scripts to input correctly.
>
> However, in my PHP scripts the Japanese text is coming out of the DB
> as question marks. Static Japanese text on the page is OK, so it's not
> a problem with the browser font.
>
> PHP 5.2.2, MySQL 4.13-beta-standard
>
> php.ini:
> mbstring.detect_order = auto
> mbstring.encoding_translation = On
> mbstring.func_overload = 0
> mbstring.http_input = auto
> mbstring.http_output = UTF-8
> mbstring.internal_encoding = UTF-8
> mbstring.language = Neutral
> mbstring.script_encoding = none
> mbstring.strict_detection = Off
> mbstring.substitute_character = none
>
> /etc/my.cfg
> [client]
> default-character-set=utf8
>
> [mysqld]
> init-connect=SET NAMES 'utf8'
> collation_server=utf8_unicode_ci
> character_set_server=utf8
> default-character-set=utf8
>
> Thanks,
>
> Rich
>
> --
> PHP Unicode & I18N Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>
--
View this message in context:
http://www.nabble.com/UTF-8-Japanese-goes-into-MySQL-OK%2C-comes-out-question-marks-tp10616408p19143590.html
Sent from the Php - Internationalization (i18n) mailing list archive at
Nabble.com.
--- End Message ---