ruby-core@ruby-lang.org archive (unofficial mirror)
 help / color / mirror / Atom feed
* [ruby-core:55743] [ruby-trunk - Bug #8592][Open] when outputing to console, it's encoding is ignored for Windows
@ 2013-07-01 20:06 davispuh (Dāvis Mosāns)
  2013-07-01 20:24 ` [ruby-core:55744] [ruby-trunk - Bug #8592][Feedback] " luislavena (Luis Lavena)
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: davispuh (Dāvis Mosāns) @ 2013-07-01 20:06 UTC (permalink / raw
  To: ruby-core


Issue #8592 has been reported by davispuh (Dāvis Mosāns).

----------------------------------------
Bug #8592: when outputing to console, it's encoding is ignored for Windows
https://bugs.ruby-lang.org/issues/8592

Author: davispuh (Dāvis Mosāns)
Status: Open
Priority: Normal
Assignee: 
Category: 
Target version: 
ruby -v: ruby 2.0.0p195 (2013-05-14) [x64-mingw32]
Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN


=begin
for example code

  #!/usr/bin/env ruby
  #encoding: utf-8
  print "testing ā"


when open CMD with changed encoding ie. ((%chcp 1257%))

it wont correctly output ((*ā*)) even that encoding and console does support it.

also if we change console's encoding to utf-8 with ((%chcp 65001%))
both Ruby versions (1.9 and 2.0) will crash (see attachment)

=end



-- 
http://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [ruby-core:55744] [ruby-trunk - Bug #8592][Feedback] when outputing to console, it's encoding is ignored for Windows
  2013-07-01 20:06 [ruby-core:55743] [ruby-trunk - Bug #8592][Open] when outputing to console, it's encoding is ignored for Windows davispuh (Dāvis Mosāns)
@ 2013-07-01 20:24 ` luislavena (Luis Lavena)
  2013-07-01 21:23 ` [ruby-core:55746] [ruby-trunk - Bug #8592] " davispuh (Dāvis Mosāns)
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: luislavena (Luis Lavena) @ 2013-07-01 20:24 UTC (permalink / raw
  To: ruby-core


Issue #8592 has been updated by luislavena (Luis Lavena).

Status changed from Open to Feedback
Assignee set to cruby-windows

Hello,

I was not able to reproduce your problem.

Script:
https://gist.github.com/luislavena/c5a5697bd7079c182034

Result

http://cl.ly/image/440K232n0M0Q

Can you try the same script or u
----------------------------------------
Bug #8592: when outputing to console, it's encoding is ignored for Windows
https://bugs.ruby-lang.org/issues/8592#change-40241

Author: davispuh (Dāvis Mosāns)
Status: Feedback
Priority: Normal
Assignee: cruby-windows
Category: 
Target version: 
ruby -v: ruby 2.0.0p195 (2013-05-14) [x64-mingw32]
Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN


=begin
for example code

  #!/usr/bin/env ruby
  #encoding: utf-8
  print "testing ā"


when open CMD with changed encoding ie. ((%chcp 1257%))

it wont correctly output ((*ā*)) even that encoding and console does support it.

also if we change console's encoding to utf-8 with ((%chcp 65001%))
both Ruby versions (1.9 and 2.0) will crash (see attachment)

=end



-- 
http://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [ruby-core:55746] [ruby-trunk - Bug #8592] when outputing to console, it's encoding is ignored for Windows
  2013-07-01 20:06 [ruby-core:55743] [ruby-trunk - Bug #8592][Open] when outputing to console, it's encoding is ignored for Windows davispuh (Dāvis Mosāns)
  2013-07-01 20:24 ` [ruby-core:55744] [ruby-trunk - Bug #8592][Feedback] " luislavena (Luis Lavena)
@ 2013-07-01 21:23 ` davispuh (Dāvis Mosāns)
  2013-07-01 21:27 ` [ruby-core:55747] " davispuh (Dāvis Mosāns)
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: davispuh (Dāvis Mosāns) @ 2013-07-01 21:23 UTC (permalink / raw
  To: ruby-core


Issue #8592 has been updated by davispuh (Dāvis Mosāns).


=begin
yeah, same result

((<URL:http://i.imm.io/1aPzV.png>))



maybe it's something to do because I've localized version of Windows 8?
=end
----------------------------------------
Bug #8592: when outputing to console, it's encoding is ignored for Windows
https://bugs.ruby-lang.org/issues/8592#change-40242

Author: davispuh (Dāvis Mosāns)
Status: Feedback
Priority: Normal
Assignee: cruby-windows
Category: 
Target version: 
ruby -v: ruby 2.0.0p195 (2013-05-14) [x64-mingw32]
Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN


=begin
for example code

  #!/usr/bin/env ruby
  #encoding: utf-8
  print "testing ā"


when open CMD with changed encoding ie. ((%chcp 1257%))

it wont correctly output ((*ā*)) even that encoding and console does support it.

also if we change console's encoding to utf-8 with ((%chcp 65001%))
both Ruby versions (1.9 and 2.0) will crash (see attachment)

=end



-- 
http://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [ruby-core:55747] [ruby-trunk - Bug #8592] when outputing to console, it's encoding is ignored for Windows
  2013-07-01 20:06 [ruby-core:55743] [ruby-trunk - Bug #8592][Open] when outputing to console, it's encoding is ignored for Windows davispuh (Dāvis Mosāns)
  2013-07-01 20:24 ` [ruby-core:55744] [ruby-trunk - Bug #8592][Feedback] " luislavena (Luis Lavena)
  2013-07-01 21:23 ` [ruby-core:55746] [ruby-trunk - Bug #8592] " davispuh (Dāvis Mosāns)
@ 2013-07-01 21:27 ` davispuh (Dāvis Mosāns)
  2013-07-07 21:17 ` [ruby-core:55833] [ruby-trunk - Bug #8592][Third Party's Issue] " luislavena (Luis Lavena)
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: davispuh (Dāvis Mosāns) @ 2013-07-01 21:27 UTC (permalink / raw
  To: ruby-core


Issue #8592 has been updated by davispuh (Dāvis Mosāns).


actually I just noticed I had default raster fonts set for console, if I change it to Lucida Console it doesn't crash.

----------------------------------------
Bug #8592: when outputing to console, it's encoding is ignored for Windows
https://bugs.ruby-lang.org/issues/8592#change-40243

Author: davispuh (Dāvis Mosāns)
Status: Feedback
Priority: Normal
Assignee: cruby-windows
Category: 
Target version: 
ruby -v: ruby 2.0.0p195 (2013-05-14) [x64-mingw32]
Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN


=begin
for example code

  #!/usr/bin/env ruby
  #encoding: utf-8
  print "testing ā"


when open CMD with changed encoding ie. ((%chcp 1257%))

it wont correctly output ((*ā*)) even that encoding and console does support it.

also if we change console's encoding to utf-8 with ((%chcp 65001%))
both Ruby versions (1.9 and 2.0) will crash (see attachment)

=end



-- 
http://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [ruby-core:55833] [ruby-trunk - Bug #8592][Third Party's Issue] when outputing to console, it's encoding is ignored for Windows
  2013-07-01 20:06 [ruby-core:55743] [ruby-trunk - Bug #8592][Open] when outputing to console, it's encoding is ignored for Windows davispuh (Dāvis Mosāns)
                   ` (2 preceding siblings ...)
  2013-07-01 21:27 ` [ruby-core:55747] " davispuh (Dāvis Mosāns)
@ 2013-07-07 21:17 ` luislavena (Luis Lavena)
  2013-07-08 17:23 ` [ruby-core:55857] [ruby-trunk - Bug #8592] " davispuh (Dāvis Mosāns)
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: luislavena (Luis Lavena) @ 2013-07-07 21:17 UTC (permalink / raw
  To: ruby-core


Issue #8592 has been updated by luislavena (Luis Lavena).

Status changed from Feedback to Third Party's Issue

Yeah, forgot to mention that raster fonts are a real problem on Windows.

Closing this now.
----------------------------------------
Bug #8592: when outputing to console, it's encoding is ignored for Windows
https://bugs.ruby-lang.org/issues/8592#change-40340

Author: davispuh (Dāvis Mosāns)
Status: Third Party's Issue
Priority: Normal
Assignee: cruby-windows
Category: 
Target version: 
ruby -v: ruby 2.0.0p195 (2013-05-14) [x64-mingw32]
Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN


=begin
for example code

  #!/usr/bin/env ruby
  #encoding: utf-8
  print "testing ā"


when open CMD with changed encoding ie. ((%chcp 1257%))

it wont correctly output ((*ā*)) even that encoding and console does support it.

also if we change console's encoding to utf-8 with ((%chcp 65001%))
both Ruby versions (1.9 and 2.0) will crash (see attachment)

=end



-- 
http://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [ruby-core:55857] [ruby-trunk - Bug #8592] when outputing to console, it's encoding is ignored for Windows
  2013-07-01 20:06 [ruby-core:55743] [ruby-trunk - Bug #8592][Open] when outputing to console, it's encoding is ignored for Windows davispuh (Dāvis Mosāns)
                   ` (3 preceding siblings ...)
  2013-07-07 21:17 ` [ruby-core:55833] [ruby-trunk - Bug #8592][Third Party's Issue] " luislavena (Luis Lavena)
@ 2013-07-08 17:23 ` davispuh (Dāvis Mosāns)
  2013-08-27  7:28 ` [ruby-core:56820] " davispuh (Dāvis Mosāns)
  2013-08-27  7:45 ` [ruby-core:56821] " davispuh (Dāvis Mosāns)
  6 siblings, 0 replies; 8+ messages in thread
From: davispuh (Dāvis Mosāns) @ 2013-07-08 17:23 UTC (permalink / raw
  To: ruby-core


Issue #8592 has been updated by davispuh (Dāvis Mosāns).


yeah, I didn't noticed it at first. But it's still weird why it crashes and that font still does support those characters. Also in Windows those raster fonts are default when it's just fresh installed. User have to specially change them.

----------------------------------------
Bug #8592: when outputing to console, it's encoding is ignored for Windows
https://bugs.ruby-lang.org/issues/8592#change-40364

Author: davispuh (Dāvis Mosāns)
Status: Third Party's Issue
Priority: Normal
Assignee: cruby-windows
Category: 
Target version: 
ruby -v: ruby 2.0.0p195 (2013-05-14) [x64-mingw32]
Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN


=begin
for example code

  #!/usr/bin/env ruby
  #encoding: utf-8
  print "testing ā"


when open CMD with changed encoding ie. ((%chcp 1257%))

it wont correctly output ((*ā*)) even that encoding and console does support it.

also if we change console's encoding to utf-8 with ((%chcp 65001%))
both Ruby versions (1.9 and 2.0) will crash (see attachment)

=end



-- 
http://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [ruby-core:56820] [ruby-trunk - Bug #8592] when outputing to console, it's encoding is ignored for Windows
  2013-07-01 20:06 [ruby-core:55743] [ruby-trunk - Bug #8592][Open] when outputing to console, it's encoding is ignored for Windows davispuh (Dāvis Mosāns)
                   ` (4 preceding siblings ...)
  2013-07-08 17:23 ` [ruby-core:55857] [ruby-trunk - Bug #8592] " davispuh (Dāvis Mosāns)
@ 2013-08-27  7:28 ` davispuh (Dāvis Mosāns)
  2013-08-27  7:45 ` [ruby-core:56821] " davispuh (Dāvis Mosāns)
  6 siblings, 0 replies; 8+ messages in thread
From: davispuh (Dāvis Mosāns) @ 2013-08-27  7:28 UTC (permalink / raw
  To: ruby-core


Issue #8592 has been updated by davispuh (Dāvis Mosāns).


Is it some MinGW lib's fault for this?

It's still happening with ruby 1.9.3p448 and 2.0.0p247

seems very similar to #7758 maybe it's even same bug.
Those raster fonts acts really weird...

BTW, it does crash even if I launch ruby.exe directly from cmd.exe with full path.
----------------------------------------
Bug #8592: when outputing to console, it's encoding is ignored for Windows
https://bugs.ruby-lang.org/issues/8592#change-41362

Author: davispuh (Dāvis Mosāns)
Status: Third Party's Issue
Priority: Normal
Assignee: cruby-windows
Category: 
Target version: 
ruby -v: ruby 2.0.0p195 (2013-05-14) [x64-mingw32]
Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN


=begin
for example code

  #!/usr/bin/env ruby
  #encoding: utf-8
  print "testing ā"


when open CMD with changed encoding ie. ((%chcp 1257%))

it wont correctly output ((*ā*)) even that encoding and console does support it.

also if we change console's encoding to utf-8 with ((%chcp 65001%))
both Ruby versions (1.9 and 2.0) will crash (see attachment)

=end



-- 
http://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [ruby-core:56821] [ruby-trunk - Bug #8592] when outputing to console, it's encoding is ignored for Windows
  2013-07-01 20:06 [ruby-core:55743] [ruby-trunk - Bug #8592][Open] when outputing to console, it's encoding is ignored for Windows davispuh (Dāvis Mosāns)
                   ` (5 preceding siblings ...)
  2013-08-27  7:28 ` [ruby-core:56820] " davispuh (Dāvis Mosāns)
@ 2013-08-27  7:45 ` davispuh (Dāvis Mosāns)
  6 siblings, 0 replies; 8+ messages in thread
From: davispuh (Dāvis Mosāns) @ 2013-08-27  7:45 UTC (permalink / raw
  To: ruby-core


Issue #8592 has been updated by davispuh (Dāvis Mosāns).


Raster fonts are also default for PowerShell and it does crash there too.

Is it just for my Win8 installation or everyone that raster fonts are default unless you change them?

----------------------------------------
Bug #8592: when outputing to console, it's encoding is ignored for Windows
https://bugs.ruby-lang.org/issues/8592#change-41363

Author: davispuh (Dāvis Mosāns)
Status: Third Party's Issue
Priority: Normal
Assignee: cruby-windows
Category: 
Target version: 
ruby -v: ruby 2.0.0p195 (2013-05-14) [x64-mingw32]
Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN


=begin
for example code

  #!/usr/bin/env ruby
  #encoding: utf-8
  print "testing ā"


when open CMD with changed encoding ie. ((%chcp 1257%))

it wont correctly output ((*ā*)) even that encoding and console does support it.

also if we change console's encoding to utf-8 with ((%chcp 65001%))
both Ruby versions (1.9 and 2.0) will crash (see attachment)

=end



-- 
http://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2013-08-27  8:15 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-01 20:06 [ruby-core:55743] [ruby-trunk - Bug #8592][Open] when outputing to console, it's encoding is ignored for Windows davispuh (Dāvis Mosāns)
2013-07-01 20:24 ` [ruby-core:55744] [ruby-trunk - Bug #8592][Feedback] " luislavena (Luis Lavena)
2013-07-01 21:23 ` [ruby-core:55746] [ruby-trunk - Bug #8592] " davispuh (Dāvis Mosāns)
2013-07-01 21:27 ` [ruby-core:55747] " davispuh (Dāvis Mosāns)
2013-07-07 21:17 ` [ruby-core:55833] [ruby-trunk - Bug #8592][Third Party's Issue] " luislavena (Luis Lavena)
2013-07-08 17:23 ` [ruby-core:55857] [ruby-trunk - Bug #8592] " davispuh (Dāvis Mosāns)
2013-08-27  7:28 ` [ruby-core:56820] " davispuh (Dāvis Mosāns)
2013-08-27  7:45 ` [ruby-core:56821] " davispuh (Dāvis Mosāns)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).