php-i18n Digest 27 Mar 2002 01:13:47 -0000 Issue 103

Topics (messages 243 through 244):

Re: Support for big5 and gb encoding?
        243 by: Yasuo Ohgaki

rdf utf-8 to mysql latin1
        244 by: David asi

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 ---
William Lee wrote:
> I see from the php4 documentation that the mbstring supports a list of 
> encoding.  However, I don't see the gb and big5 (simplified and 
> tranditional Chinese) in there.  Are they being supported?
> 

BIG5 does not work.
gb. I don't know.

EUC-TW should work.

--
Yasuo Ohgaki

--- End Message ---
--- Begin Message ---
Hi all,

My purpose is to transform an rdf utf-8 file into sql for mysql.
Data are both in french/english, in french there are stange caractere that
doesnt render well (ηθι...)

What the output had to be ?
Mysql only support latin1 ?

I m lost in all that encodage !

Help me

I dont know how to parametrer the php parser I make.

// create parser
$xp = xml_parser_create("UTF-8");
// set element handler
xml_set_element_handler($xp, "elementBegin", "elementEnd");
xml_set_character_data_handler($xp, "characterData");
xml_parser_set_option($xp, XML_OPTION_CASE_FOLDING, TRUE);
xml_parser_set_option($xp, XML_OPTION_SKIP_WHITE, TRUE);
xml_parser_set_option($xp, XML_OPTION_TARGET_ENCODING, 'UTF-8');

Have I to decode / encode

//    if (!($xml = utf8_encode($xml))) {
//    echo 'ERROR'."\n";
//    }

Thanks for all.


--- End Message ---

Reply via email to