You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Carlos Pita (JIRA)" <ji...@apache.org> on 2008/03/23 06:27:24 UTC

[jira] Commented: (WICKET-1443) Allow to load properties in different encodings

    [ https://issues.apache.org/jira/browse/WICKET-1443?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12581338#action_12581338 ] 

Carlos Pita commented on WICKET-1443:
-------------------------------------

Ok, but I thought it was a good idea as far as it's just a matter of changing a couple of lines of code and allow users to set the propertyfactory from resourcesettings.

> Allow to load properties in different encodings
> -----------------------------------------------
>
>                 Key: WICKET-1443
>                 URL: https://issues.apache.org/jira/browse/WICKET-1443
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket
>    Affects Versions: 1.3.2
>            Reporter: Carlos Pita
>            Assignee: Igor Vaynberg
>             Fix For: 1.3.3
>
>
> This is as simple as changing line
> properties.load(in);
> to
> properties.load(new InputStreamReader(in, charSet));
> in PropertiesFactory. By means of extension and overriding is impossible to do something like that currently, without copy-pasting a lot of code,

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.