kennygrant (Kenny Grant)
- Login: kennygrant
- Registered on: 11/02/2012
- Last sign in: 05/06/2014
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 0 | 1 | 1 |
Activity
11/09/2012
-
10:56 PM Ruby Bug #7267: Dir.glob on Mac OS X returns unexpected string encodings for unicode file names
- > see several lines at the end of enc/utf_8.c.
Thanks for the links, I'll read them to get a better understanding of this, I'm sorry I can't read the other two tickets associated with this as that would probably be enlightening too. I... -
07:30 PM Ruby Bug #7267: Dir.glob on Mac OS X returns unexpected string encodings for unicode file names
- Thanks for the comments on this issue. I'm not clear on what the UTF8-MAC encoding represents, are there docs on this Ruby behaviour and the problems involved somewhere?
At present Dir.glob has inconsistent behaviour even working wit...
11/04/2012
-
12:43 AM Ruby Bug #7267: Dir.glob on Mac OS X returns unexpected string encodings for unicode file names
- Thanks for the explanation. I didn't think Ruby was being evil :)
If the translation from UTF8-MAC -> UTF-8 is entirely non-lossy and would do no harm to other UTF-8 strings (these decomposed patterns would only occur with the intenti...
11/03/2012
-
07:50 AM Ruby Bug #7267: Dir.glob on Mac OS X returns unexpected string encodings for unicode file names
- The problem I encountered here was that although the encoding is also UTF-8, apparently there are several flavours of UTF-8, NFC or NFD. This is not something most Ruby users will be familiar with, and I'm not sure it's really the same a...
11/02/2012
-
08:32 PM Ruby Bug #7267: Dir.glob on Mac OS X returns unexpected string encodings for unicode file names
- Output of the test.rb script:
Tested on Ruby 2.0.0-preview and 1.9.3 on Mac OS X
1.9.3x86_64-darwin11.4.0
Inline string works as expected
Source encoding: UTF-8
External encoding: UTF-8
Name: "./Testé.txt"
Encoding: UTF-8
Chars... -
07:54 PM Ruby Bug #7267 (Closed): Dir.glob on Mac OS X returns unexpected string encodings for unicode file names
- Tested on Ruby 1.9.3-p194 and ruby-2.0.0-preview1 on Mac OS X 10. 7.5
When calling file system methods with Ruby on Mac OS X, it is not possible to manipulate the resulting file name as a normal UTF-8 string, even though it reports th...