[JIRA] (JENKINS-41729) Using utf-8 letters in property files

2019-10-26 Thread de...@ikedam.jp (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 ikedam updated  JENKINS-41729  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-41729  
 
 
  Using utf-8 letters in property files   
 

  
 
 
 
 

 
Change By: 
 ikedam  
 
 
Status: 
 In  Progress  Review  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.178566.1486267011000.2494.1572154080219%40Atlassian.JIRA.


[JIRA] (JENKINS-41729) Using utf-8 letters in property files

2019-09-22 Thread de...@ikedam.jp (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 ikedam commented on  JENKINS-41729  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Using utf-8 letters in property files   
 

  
 
 
 
 

 
 https://github.com/kohsuke/localizer/pull/20  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.178566.1486267011000.2421.1569144660196%40Atlassian.JIRA.


[JIRA] (JENKINS-41729) Using utf-8 letters in property files

2019-09-22 Thread de...@ikedam.jp (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 ikedam commented on  JENKINS-41729  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Using utf-8 letters in property files   
 

  
 
 
 
 

 
 https://github.com/stapler/stapler/pull/171  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.178566.1486267011000.2419.1569140940299%40Atlassian.JIRA.


[JIRA] (JENKINS-41729) Using utf-8 letters in property files

2019-09-22 Thread de...@ikedam.jp (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 ikedam started work on  JENKINS-41729  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
Change By: 
 ikedam  
 
 
Status: 
 Open In Progress  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.178566.1486267011000.2414.1569140700247%40Atlassian.JIRA.


[JIRA] (JENKINS-41729) Using utf-8 letters in property files

2019-09-15 Thread de...@ikedam.jp (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 ikedam commented on  JENKINS-41729  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Using utf-8 letters in property files   
 

  
 
 
 
 

 
 I found existing property files are not encoded in ASCII, but ISO-8859-1. See more details in https://github.com/stapler/stapler/pull/105. ISO-8859-1 and UTF-8 are not compatible, and it looks difficult to detect decoding errors in Java. It would be better to consider using XML property files: https://docs.oracle.com/javase/8/docs/api/java/util/Properties.html#loadFromXML-java.io.InputStream-  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.178566.1486267011000.3773.1568528400144%40Atlassian.JIRA.


[JIRA] (JENKINS-41729) Using utf-8 letters in property files

2019-09-15 Thread de...@ikedam.jp (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 ikedam stopped work on  JENKINS-41729  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
Change By: 
 ikedam  
 
 
Status: 
 In Progress Open  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.178566.1486267011000.3771.1568528280259%40Atlassian.JIRA.


[JIRA] (JENKINS-41729) Using utf-8 letters in property files

2017-02-11 Thread de...@ikedam.jp (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 ikedam commented on  JENKINS-41729  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Using utf-8 letters in property files   
 

  
 
 
 
 

 
 The apparent problem is assuming that encoding is always UTF-8.   
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-41729) Using utf-8 letters in property files

2017-02-11 Thread de...@ikedam.jp (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 ikedam commented on  JENKINS-41729  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Using utf-8 letters in property files   
 

  
 
 
 
 

 
 https://github.com/kohsuke/localizer/pull/13  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-41729) Using utf-8 letters in property files

2017-02-11 Thread de...@ikedam.jp (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 ikedam edited a comment on  JENKINS-41729  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Using utf-8 letters in property files   
 

  
 
 
 
 

 
 https://github.com/ kohsuke stapler / localizer stapler /pull/ 13 105  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-41729) Using utf-8 letters in property files

2017-02-04 Thread de...@ikedam.jp (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 ikedam started work on  JENKINS-41729  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
Change By: 
 ikedam  
 
 
Status: 
 Open In Progress  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-41729) Using utf-8 letters in property files

2017-02-04 Thread de...@ikedam.jp (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 ikedam commented on  JENKINS-41729  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Using utf-8 letters in property files   
 

  
 
 
 
 

 
 https://github.com/kohsuke/localizer/pull/13  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-41729) Using utf-8 letters in property files

2017-02-04 Thread de...@ikedam.jp (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 ikedam created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-41729  
 
 
  Using utf-8 letters in property files   
 

  
 
 
 
 

 
Issue Type: 
  Improvement  
 
 
Assignee: 
 ikedam  
 
 
Components: 
 core  
 
 
Created: 
 2017/Feb/05 3:56 AM  
 
 
Priority: 
  Minor  
 
 
Reporter: 
 ikedam  
 

  
 
 
 
 

 
 Property files for localization requires to be encoded in ISO-8859-1. It results difficulties in reviewing localizing pull requires such as https://github.com/jenkinsci/maven-plugin/pull/86. It would be nice if property files in source directories can be written in UTF-8 letters. There are two approaches: 
 
Encode property files when compiling. 
 
maven-resources-plugin copies files in the resources directory into the target directory. It doesn't provide a feature to encode property files. 
Though native2ascii-maven-plugin encodes property files, it is provided only as beta for long time. 
 
This might mean encoding property files in compilation time isn't a standard approach. 
  
maven-antrun-plugin can run native2ascii (But it feels strange approach to me). 
This approach would cause problems when testing plugins with "mvn hpi:run". 
 
As property files aren't compiled and read from source directories directly at that time.