You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Raghu <ra...@infotechsw.com> on 2008/10/13 16:22:48 UTC

polish dialectic signs lturn into #

I have developed JSP Struts Polish Application in UTF-8  encoding.

 

Application interacts with SAP for polish data .I am able to insert the data
into SAP from jsp application running on tomcat.

 

Application which is working on windows version of polish system (windows XP
)is not working on Linux System.

 

Polish dialectic signs like ą,ć,ś,ó,ź,ł,ę are turn into # symbols.

 

Any advice to make the application work on both windows and Linux.

 

Regards,
Raghu

 


Re: polish dialectic signs lturn into #

Posted by Joseph Millet <jo...@gmail.com>.
If any of the above are not working you through this ...
I understand you rely on some DB layer for "inserts", so that you seem to
acknowledge that inserts perform ok and that you get proper unicode stored -
you should then investigate how your application connects to that data
store, i.e. it's likely you have a charset that defaults to utf-8 using
windows (beware windows rather like UCS-2) - behaviour that changes under
Linux - when you're getting the DB connection.

Joseph

2008/10/13 André Warnier <aw...@ice-sa.com>

> Mark Thomas wrote:
>
>> Raghu wrote:
>>
>>> I have developed JSP Struts Polish Application in UTF-8  encoding.
>>>
>>>
>>> Application interacts with SAP for polish data .I am able to insert the
>>> data
>>> into SAP from jsp application running on tomcat.
>>>
>>>
>>> Application which is working on windows version of polish system (windows
>>> XP
>>> )is not working on Linux System.
>>>
>>>
>>> Polish dialectic signs like ą,ć,ś,ó,ź,ł,ę are turn into # symbols.
>>>
>>>
>>> Any advice to make the application work on both windows and Linux.
>>>
>>
>> http://wiki.apache.org/tomcat/FAQ/CharacterEncoding
>>
>> Mark
>>
>>  I will not discuss Mark's opinion (that would be dialectic), but to the
> OP, the word usually used for these letters is diacritic.
> See here : http://en.wikipedia.org/wiki/Diacritic
>
> In addition to what the above Tomcat wiki indicates, you may want to check
> the "locale" of the process which runs Tomcat.
> I have found that setting
> LC_CTYPE="xxxxxx" ; export LC_CTYPE
> prior to the java command starting Tomcat under Unix/Linux, changes the way
> in which some webapps react to character sets.
> (They should not, if they are properly written, but in the practice they
> often do).
>
> There is a lot more to say on this subject, but if the above is enough to
> resolve your problem, we'll leave that for another time.
>
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

Re: polish dialectic signs lturn into #

Posted by André Warnier <aw...@ice-sa.com>.
Mark Thomas wrote:
> Raghu wrote:
>> I have developed JSP Struts Polish Application in UTF-8  encoding.
>>
>>  
>>
>> Application interacts with SAP for polish data .I am able to insert the data
>> into SAP from jsp application running on tomcat.
>>
>>  
>>
>> Application which is working on windows version of polish system (windows XP
>> )is not working on Linux System.
>>
>>  
>>
>> Polish dialectic signs like ą,ć,ś,ó,ź,ł,ę are turn into # symbols.
>>
>>  
>>
>> Any advice to make the application work on both windows and Linux.
> 
> http://wiki.apache.org/tomcat/FAQ/CharacterEncoding
> 
> Mark
> 
I will not discuss Mark's opinion (that would be dialectic), but to the 
OP, the word usually used for these letters is diacritic.
See here : http://en.wikipedia.org/wiki/Diacritic

In addition to what the above Tomcat wiki indicates, you may want to 
check the "locale" of the process which runs Tomcat.
I have found that setting
LC_CTYPE="xxxxxx" ; export LC_CTYPE
prior to the java command starting Tomcat under Unix/Linux, changes the 
way in which some webapps react to character sets.
(They should not, if they are properly written, but in the practice they 
often do).

There is a lot more to say on this subject, but if the above is enough 
to resolve your problem, we'll leave that for another time.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: polish dialectic signs lturn into #

Posted by Mark Thomas <ma...@apache.org>.
Raghu wrote:
> I have developed JSP Struts Polish Application in UTF-8  encoding.
> 
>  
> 
> Application interacts with SAP for polish data .I am able to insert the data
> into SAP from jsp application running on tomcat.
> 
>  
> 
> Application which is working on windows version of polish system (windows XP
> )is not working on Linux System.
> 
>  
> 
> Polish dialectic signs like ą,ć,ś,ó,ź,ł,ę are turn into # symbols.
> 
>  
> 
> Any advice to make the application work on both windows and Linux.

http://wiki.apache.org/tomcat/FAQ/CharacterEncoding

Mark


> 
>  
> 
> Regards,
> Raghu
> 
>  
> 
> 



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org