struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Manuel Villalobos (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (WW-4919) The load of properties file doesnt show the Exception obtained if exist a problem with Unicode character
Date Thu, 15 Feb 2018 16:50:00 GMT

    [ https://issues.apache.org/jira/browse/WW-4919?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16365897#comment-16365897
] 

Manuel Villalobos commented on WW-4919:
---------------------------------------

As a Properties file....
Saludos

Manuel Villalobos

 

    On Thursday, February 15, 2018, 6:23:03 AM CST, Aleksandr Mashchenko (JIRA) <jira@apache.org>
wrote:  
 
 
    [ https://issues.apache.org/jira/browse/WW-4919?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16365461#comment-16365461
] 

Aleksandr Mashchenko comentó en la incidencia WW-4919:
------------------------------------------

AFAIR java silently ignores errors when loading resource bundles.

_> When trying to load manually the properties Java file throws the message "java.lang.IllegalArgumentException:
Malformed \ uxxxx encoding"_

How do you load it manually?




--
Este mensaje fue enviado por JIRA de Atlassian
(v7.6.3#76005)


> The load of properties file doesnt show the Exception obtained if exist a problem with
Unicode character
> --------------------------------------------------------------------------------------------------------
>
>                 Key: WW-4919
>                 URL: https://issues.apache.org/jira/browse/WW-4919
>             Project: Struts 2
>          Issue Type: Improvement
>         Environment: When loading Struts2 in the Web Application
>            Reporter: Manuel Villalobos
>            Priority: Minor
>             Fix For: 2.6
>
>
> When loading a properties file for use with the Text tag or with getText inside the Action,
if a Unicode character has a problem the total content of the file is not loaded and they
are not available for use. The problem is that the error found in the load is nowhere seen.
> Please help her in situations like that show up in the load the error you get.
> When trying to load manually the properties Java file throws the message "java.lang.IllegalArgumentException:
Malformed \ uxxxx encoding"
> Please help you so that when there are problems loading the properties file, messages
will be generated in the log



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message