Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Blocker
-
Resolution: Fixed
-
Affects Version/s: JRuby 1.6RC1
-
Fix Version/s: JRuby 1.7.0.pre1
-
Component/s: Java Integration
-
Labels:None
-
Environment:Hide$ uname -a
Darwin mbpldc.local 10.6.0 Darwin Kernel Version 10.6.0: Wed Nov 10 18:13:17 PST 2010; root:xnu-1504.9.26~3/RELEASE_I386 i386
$ java -version
java version "1.6.0_22"
Java(TM) SE Runtime Environment (build 1.6.0_22-b04-307-10M3261)
Java HotSpot(TM) 64-Bit Server VM (build 17.1-b03-307, mixed mode)
$ locale
LANG="fr_FR.UTF-8"
LC_COLLATE="fr_FR.UTF-8"
LC_CTYPE="fr_FR.UTF-8"
LC_MESSAGES="fr_FR.UTF-8"
LC_MONETARY="fr_FR.UTF-8"
LC_NUMERIC="fr_FR.UTF-8"
LC_TIME="fr_FR.UTF-8"
LC_ALL=
Terminal: iterm2 in UTF-8Show$ uname -a Darwin mbpldc.local 10.6.0 Darwin Kernel Version 10.6.0: Wed Nov 10 18:13:17 PST 2010; root:xnu-1504.9.26~3/RELEASE_I386 i386 $ java -version java version "1.6.0_22" Java(TM) SE Runtime Environment (build 1.6.0_22-b04-307-10M3261) Java HotSpot(TM) 64-Bit Server VM (build 17.1-b03-307, mixed mode) $ locale LANG="fr_FR.UTF-8" LC_COLLATE="fr_FR.UTF-8" LC_CTYPE="fr_FR.UTF-8" LC_MESSAGES="fr_FR.UTF-8" LC_MONETARY="fr_FR.UTF-8" LC_NUMERIC="fr_FR.UTF-8" LC_TIME="fr_FR.UTF-8" LC_ALL= Terminal: iterm2 in UTF-8
-
Testcase included:yes
-
Number of attachments :
Description
This bug blocks the tests I would like to implement for JRUBY-5345 (we might need to reopen once we have a reliable test suite for this case).
When creating a directory with an "hié" (UTF-8 e-accute-accent) from within a Jar, will instead create a directory called "hi%89" (URL Encoded version of MacRoman e-accute-accent).
To prevent any source-file encoding issue, I manually pack the "é" accent from its binary representation with [0xc3, 0xa9].pack('C*') and I freeze the string.
In https://github.com/lucasdicioccio/jruby/commits/accents
I've modified test_jar_complete.rb:
- added a test case for jar run from paths with accents (
JRUBY-5345) - adding an assertion on the content of the test directory content (this bug report)
I've also added a similar test in test_jruby_dirnames.rb . It executes without failure/errors with ./bin/jruby from the same build. Thus I think the issue is JAR-related.
Activity
Charles Oliver Nutter
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Resolution | Fixed [ 1 ] | |
| Fix Version/s | JRuby 1.7.0.pre1 [ 17049 ] | |
| Assignee | Charles Oliver Nutter [ headius ] | |
| Status | Open [ 1 ] | Resolved [ 5 ] |
Hi, Lucas,
I apologize for not reviewing this sooner.
It sounds like you had a patch, but it's been deleted. Do you still have it?