httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From MySer...@att.net
Subject Re: [users@httpd] Display characters in Japanese
Date Mon, 21 Jun 2004 14:33:31 GMT
Thank you for the suggestion, 
though it did not make a difference.
 
The characters displayed are still not is Japanese char set.
 
any and all additional suggestion are most welcome.


-------------- Original message from Odhiambo Washington : -------------- 
> * MyServer@att.net [20040621 17:01]: wrote: 
> > I am hoping someone will be able to help me or give me some 
> > suggestion and additional ideas to try. 
> > 
> > I am trying to display Japanese characters using apache 2.0. 
> > 
> > I can successfully display the Japanese characters if I register an 
> application 
> > through ap_hook_handler (?.) and add the following directives to my httpd.conf 
> file. 
> > 
> > *************************** 
> > AddDefaultCharset shift_jis 
> > and 
> > AddCharset shift_jis .jp-jp 
> > *************************** 
> > 
> > Unfortunately my current new application has to be registered through 
> > ap_hook_access_checker (?..) 
> > 
> > In my new application I have tried setting the content type 
> > ?text/html? or ?text/html;charset=shift_jis? 
> > 
> > Using 
> > 
> > AP_DECLARE(void) ap_set_content_type (?.) 
> > 
> > For some reason, it appears that the content type is getting reset to 
> > ISO-8859-1 by the server. (I can see this by monitoring the network) 
> > 
> > I have noticed below comment in function ap_set_content_type (?.) 
> > 
> > /* Insert filters requested by the AddOutputFiltersByType 
> > * configuration directive. Content-type filters must be 
> > * inserted after the content handlers have run because 
> > * only then, do we reliably know the content-type. 
> > */ 
> > 
> > I am hoping that this does not mean that content type can only be set in the 
> > ap_hook_handler hook and or there is a work around to my problem. 
> > 
> > Thank you for your help 
> 
> 
> AddDefaultCharset UTF-8 in httpd.conf 
> 
> 
> 
> 
> -Wash 
> 
> http://www.netmeister.org/news/learn2quote.html 
> 
> -- 
> +======================================================================+ 
> |\ _,,,---,,_ | Odhiambo Washington 
> Zzz /,`.-'`' -. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com 
> |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 
> '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 
> +======================================================================+ 
> Real computer scientists don't program in assembler. They don't write 
> in anything less portable than a number two pencil. 
> 
> --------------------------------------------------------------------- 
> The official User-To-User support forum of the Apache HTTP Server Project. 
> See for more info. 
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org 
> " from the digest: users-digest-unsubscribe@httpd.apache.org 
> For additional commands, e-mail: users-help@httpd.apache.org 
> 
Mime
View raw message