You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Carsten Ziegeler (Jira)" <ji...@apache.org> on 2020/01/10 10:44:00 UTC
[jira] [Commented] (FELIX-6166) Support encoding while reading
properties from external file
[ https://issues.apache.org/jira/browse/FELIX-6166?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17012700#comment-17012700 ]
Carsten Ziegeler commented on FELIX-6166:
-----------------------------------------
My suggestion would be to specify a new property
org.apache.felix.configadmin.plugin.interpolation.file.encoding
for this
> Support encoding while reading properties from external file
> ------------------------------------------------------------
>
> Key: FELIX-6166
> URL: https://issues.apache.org/jira/browse/FELIX-6166
> Project: Felix
> Issue Type: Improvement
> Components: Configuration Admin
> Affects Versions: configadmin-interpolation-plugin-0.0.2
> Reporter: Benjamin Graf
> Priority: Major
> Fix For: configadmin-interpolation-plugin-0.0.6
>
>
> Actually external property file is read as {{byte[]}} and converted to {{String}} without considering file encoding. Maybe another global or local variable should be definable with {{Charset.defaultCharset()}} as default if not set.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)