Bug #8508
closed
- Category changed from platform/windows to M17N
- Status changed from Open to Feedback
- ruby -v changed from 1.9.1 to 1.9.3
That line in 1.9.1 is a comment, so it would be 1.9.3.
But why is Encoding.locale_charmap UTF-8 on Windows?
Are you using codepage 65001?
Hi there!
Line 173 in the registry.rb file here on my PC is this one:
super msg.tr("\r", '').chomp
I'm sorry, I don't know how to set locale_charmap
and I'm not sure what a codepage is.
I'm running the App (Vagrant) using Cygwin on the mintty.exe terminal.
If you wanna tell me how to find out the codepage I can provide you with that info.
Thank you!
It actually seems this only happens when using Cygwin with the mintty.exe terminal.
Any idea how to solve this?
And btw. "chcp" gives me:
Aktive Codepage: 850.
I'm running the App (Vagrant) using Cygwin on the mintty.exe terminal.
It sounds root cause.
And btw. "chcp" gives me:
Aktive Codepage: 850.
Thanks.
Could you show following result?
ruby -e'puts Encoding.locale_charmap'
'ruby' is not installed in my Cygwin environment, but Vagrant
has an embedded version of ruby so I ran the command using it.
cd /cygdrive/c/HashiCorp/Vagrant/embedded/bin
./ruby.exe -e'puts Encoding.locale_charmap'
Which gives the output: UTF-8
Not sure if this is the right way to test it.
With this result is it possible to
guess what the cause of the error is?
Can I do anything else to get
this fixed? Just let me know!
- Status changed from Feedback to Closed
- % Done changed from 0 to 100
This issue was solved with changeset r41838.
Thomas, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
win32/registry.rb: use WCHAR
- ext/dl/win32/lib/win32/registry.rb (Error, API): use WCHAR
interfaces. c.f. [Bug #8508]
Perfect. Thank you for responding, really
appreciate it! Keep up the good work! :)
Is there any roadmap where I could find
out when this fix is gonna be available
with the release of a new ruby version?
- Backport changed from 1.9.3: UNKNOWN, 2.0.0: UNKNOWN to 1.9.3: REQUIRED, 2.0.0: REQUIRED
Also available in: Atom
PDF
Like0
Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0