You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2005/09/29 01:06:59 UTC

DO NOT REPLY [Bug 36851] - Task does not support multi-byte file names

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=36851>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=36851





------- Additional Comments From dlr@apache.org  2005-09-29 01:06 -------
Created an attachment (id=16547)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=16547&action=view)
Tweaks illustrating a couple of the problem areas

Much like the file name used in TarEntry.writeEntryHeader(), the userId,
groupId, linkName, magic, userName, and groupName may need similar adjustments
to avoid possible erroneous one-to-one mappings from their characters to bytes.


This patch assumes that the getBytes() call will use a character encoding like
UTF-8, and that the file names are using the same encoding.  This assumption
will likely often be false for the use case described by this issue.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org