You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by sebb <se...@gmail.com> on 2009/04/20 14:30:19 UTC

Re: DO NOT REPLY [Bug 47049] New: TOMCAT MANAGER appears in Spanish, tildes/accents are not resolved.

On 20/04/2009, Mark Thomas <ma...@apache.org> wrote:
> Mark Thomas wrote:
>  > Looks like we need to run native2ascii over a quite a few French and
>  > German files.

Surely the ISO-8859-1 (Latin-1) character set supports most accents in
Latin languages, so there should be no need to use Unicode escapes for
these?

Looks to me like the problem with the Spanish version is due to a
packaging error in the tomcat-I18n-es.jar file, which contains
corrupted copies of the original files.

Using Unicode escapes should prevent this packing error from
recurring, but seems rather a drastic measure, as it makes the
properties files rather harder to read.

>
> Done for trunk and fixes proposed for 6.0.x.
>
>
>  Mark
>
>
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
>  For additional commands, e-mail: dev-help@tomcat.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Re: DO NOT REPLY [Bug 47049] New: TOMCAT MANAGER appears in Spanish, tildes/accents are not resolved.

Posted by sebb <se...@gmail.com>.
On 20/04/2009, Mark Thomas <ma...@apache.org> wrote:
> sebb wrote:
>  > On 20/04/2009, Mark Thomas <ma...@apache.org> wrote:
>  >> Mark Thomas wrote:
>  >>  > Looks like we need to run native2ascii over a quite a few French and
>  >>  > German files.
>  >
>  > Surely the ISO-8859-1 (Latin-1) character set supports most accents in
>  > Latin languages, so there should be no need to use Unicode escapes for
>  > these?
>
>
> I would have expected it to work but it appears that it doesn't. It is

I would have too - which is why I wrote this reply - but that
obviously changes things.

>  probably related to the users default platform encoding. I suspect the
>  issues are when a user is using something other than ISO-8859-1 or UTF-8
>  but I haven't done any testing to prove this.
>
>  > Looks to me like the problem with the Spanish version is due to a
>  > packaging error in the tomcat-I18n-es.jar file, which contains
>  > corrupted copies of the original files.
>
>
> The issue appears to be wider than that.
>
>
>  > Using Unicode escapes should prevent this packing error from
>  > recurring, but seems rather a drastic measure, as it makes the
>  > properties files rather harder to read.
>
>
> Preventing the packaging error is not my primary motivation with these
>  patches. My primary motivation is making sure these files work as
>  intended for all users.

OK, point taken.

>  In the rare cases where someone needs to work on these files and wants
>  to do it in native form it is trivial to use native2ascii to convert the
>  files to native form, edit them and then convert them back.
>
>
>  Mark
>
>
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
>  For additional commands, e-mail: dev-help@tomcat.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Re: DO NOT REPLY [Bug 47049] New: TOMCAT MANAGER appears in Spanish, tildes/accents are not resolved.

Posted by Mark Thomas <ma...@apache.org>.
sebb wrote:
> On 20/04/2009, Mark Thomas <ma...@apache.org> wrote:
>> Mark Thomas wrote:
>>  > Looks like we need to run native2ascii over a quite a few French and
>>  > German files.
> 
> Surely the ISO-8859-1 (Latin-1) character set supports most accents in
> Latin languages, so there should be no need to use Unicode escapes for
> these?

I would have expected it to work but it appears that it doesn't. It is
probably related to the users default platform encoding. I suspect the
issues are when a user is using something other than ISO-8859-1 or UTF-8
but I haven't done any testing to prove this.

> Looks to me like the problem with the Spanish version is due to a
> packaging error in the tomcat-I18n-es.jar file, which contains
> corrupted copies of the original files.

The issue appears to be wider than that.

> Using Unicode escapes should prevent this packing error from
> recurring, but seems rather a drastic measure, as it makes the
> properties files rather harder to read.

Preventing the packaging error is not my primary motivation with these
patches. My primary motivation is making sure these files work as
intended for all users.

In the rare cases where someone needs to work on these files and wants
to do it in native form it is trivial to use native2ascii to convert the
files to native form, edit them and then convert them back.

Mark



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org