Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Minor
-
Resolution: Won't Fix
-
Affects Version/s: JRuby 1.2
-
Fix Version/s: None
-
Component/s: Extensions
-
Labels:None
-
Environment:Ubuntu 8.04, java version "1.6.0_07" (build 1.6.0_07-b06)
-
Testcase included:yes
-
Number of attachments :
Description
OK, so I know that NKF support is not complete, but I figured I'd open a ticket just to record this issue.
Currently NKF does not support the linebreak modes windows (CRLF) and mac (CR), at least on Linux. Behavior on other platforms may differ.
Patch containing (mostly failing) linebreak specs is attached.
(It may be worth noting that NKF is detecting the presence of the few flags it does support with a home-grown option parser. It might be easier to build out support for the unimplemented options if that code was using a standard getopt-like library call. I'm not sure with what licenses are acceptable / compatible for JRuby contributions, but notably, JArgs is available under a BSD license.)
Activity
Thomas E Enebo
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Component/s | Extensions [ 12281 ] | |
| Fix Version/s | JRuby 1.x+ [ 13421 ] | |
| Component/s | Ruby 1.8.7 [ 13502 ] |
Charles Oliver Nutter
made changes -
| Status | Open [ 1 ] | Resolved [ 5 ] |
| Assignee | Charles Oliver Nutter [ headius ] | |
| Fix Version/s | JRuby 1.x+ [ 13421 ] | |
| Resolution | Won't Fix [ 2 ] |
This is not specifically a Ruby 1.8.7 problem. Moving to extensions and removing target unless someone want to work on it....