General

Profile

renatosilva (Renato Silva)

  • Login: renatosilva
  • Registered on: 10/12/2013
  • Last sign in: 04/14/2014

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 1 1

Activity

10/15/2013

08:35 AM Ruby Bug #9016: String#encoding is lying?
I would expect that if ARGV[0].encoding is CP850, then the string is encoded as CP850. Instead, the string is encoded in another encoding, ISO-8859-1. The reduced test case should output this:
Encoding of argument is reported as CP850...
renatosilva (Renato Silva)

10/14/2013

06:57 PM Ruby Bug #9016: String#encoding is lying?
This reduced test case shows that the argument looks like an ISO-8859-1 string even though its encoding is reported as CP850. renatosilva (Renato Silva)

10/13/2013

04:29 AM Ruby Bug #9016: String#encoding is lying?
If you type "chcp 850" in cmd.exe before calling the script, it should accept the argument. You can use the word "Japonês" (Japanese) as example for the file path. renatosilva (Renato Silva)

10/12/2013

04:02 PM Ruby Bug #9016 (Closed): String#encoding is lying?
Please see attached test case.
If you try opening a file using a CP850 (possibly others) path which was passed as command line argument, you are not able at all, unless you encode the argument into its very own reported encoding (CP85...
renatosilva (Renato Silva)

Also available in: Atom