beehive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chad Schoettger (JIRA)" <...@beehive.apache.org>
Subject [jira] Updated: (BEEHIVE-994) Controls assembly does not support multibyte characters in property files it generates
Date Tue, 08 Nov 2005 20:09:21 GMT
     [ http://issues.apache.org/jira/browse/BEEHIVE-994?page=all ]

Chad Schoettger updated BEEHIVE-994:
------------------------------------

    Attachment: BEEHIVE-994.patch

Added patch file.  

Fixed by added code to the ControlClientManifest.java class to write the property file so
it can be read by Properties.load() with multibyte chars.

> Controls assembly does not support multibyte characters in property files it generates
> --------------------------------------------------------------------------------------
>
>          Key: BEEHIVE-994
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-994
>      Project: Beehive
>         Type: Bug
>   Components: Controls
>     Versions: V1
>     Reporter: Chad Schoettger
>     Assignee: Chad Schoettger
>     Priority: Minor
>  Attachments: BEEHIVE-994.patch
>
> During control generation a properties file is generated for a control by the gereration
framework.  During the controls assembly phase the property file is used to determine the
underlying type of the control.  The Properties.load() method is used to load the properties
file from disk but the Properties.store() method is not used to create the properties file
( since that is done from within APT).  
> The Properties.store() method performs some special encoding of multibyte characters
which enables the Properties.load() method to correctly load multibyte characters.  Since
store() is not being used in this case, multibyte characters are getting mangled on the load()
call.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message