Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] OT-Japanese in PHP



Mark Sargent wrote:
> David E wrote:
> 
>> From: Mark Sargent <powderkeg@example.com> on Date: Wed, 25 May 
>> 2005 17:31:49 +0900
>>
>>  
>>
>>> Erin D. Hughes via info@example.com wrote:
>>>
>>>   
>>>
>>>> Mark Sargent wrote:
>>>>
>>>>     
>>>>
>>>>> Hi All,
>>>>> output_handler = mb_output_handler
>>>>> mbstring.language = Japanese
>>>>> mbstring.internal_encoding = UTF-8
>>>>> mbstring.http_input = auto
>>>>> mbstring.http_output = SJIS
>>>>> mbstring.encoding_translation = On
>>>>> mbstring.detect_order = auto
>>>>> mbstring.substitute_character = none
>>>>> mbstring.internal_encoding = EUC-JP
>>>>>
>>>>> Now, I think I still haven't got the page that requires J, 
>>>>> displayed right, yet. Full code is below. Can anyone see any 
>>>>> mistakes..? Cheers.
>>>>>       
>>
>>
>> You haven't given any details on what seems wrong with the output.
>> This is kind of obvious, but have you made sure the text in the
>> database is in the sme encoding as you have mbstring.internal_encoding
>> set to? (You have it set twice, to different values in your config
>> above - I assume the last one set gets used, but safer to just make up
>> your mind, don't you think?)
>>
>> Dave
>>
>>  
>>
> Thanx, Dave..I didn't realize I'd set it twice. Removed the 2nd
> reference of that. I still can't display the J in the page. The English
> is displayed fine. Also, the same encoding is being used for the page
> and database(actually, for now, there is only 1 column holding sjis text
> in only 1 table). Sorry, Erin, the page is not viewable online, as it's
> only a local project so far. Cheers.
> 
> Mark Sargent.
> 
thats no prob
but if you follow the steps I outlined previously I am sure you will 
find out where the problem lies.

E./


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links