[#70843] Re: [ruby-cvs:58952] hsbt:r51801 (trunk): * lib/rubygems: Update to RubyGems HEAD(fe61e4c112). — Eric Wong <normalperson@...>
hsbt@ruby-lang.org wrote:
3 messages
2015/09/17
[ruby-core:70677] [Ruby trunk - Bug #11511] Problem with cyrillic letter И
From:
usa@...
Date:
2015-09-07 13:29:23 UTC
List:
ruby-core #70677
Issue #11511 has been updated by Usaku NAKAMURA.
File prompt.jpg added
How to reproduce?
I could not reproduce with irb.

----------------------------------------
Bug #11511: Problem with cyrillic letter =D0=98
https://bugs.ruby-lang.org/issues/11511#change-54069
* Author: xiro@inboxdesign.me xiro@inboxdesign.me
* Status: Open
* Priority: Normal
* Assignee:=20
* ruby -v: ruby 2.0.0p643 (2015-02-25) [i386-mingw32]
* Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN
----------------------------------------
I have problem dealing with the =D0=98 letter.
'=D0=98'.encoding #>ASCII-8BIT
'=D0=98'.force_encoding('ASCII-8BIT').encode('utf-8') #> UndefinedConver=
sionError: "\xC8" from ASCII-8BIT to UTF-8
'=D0=98'.force_encoding('cp1251').encode('utf-8')[0].ord #> 1048
'=D0=98'.force_encoding('cp1251').encode('utf-8') #> "=EF=BF=BD?"
1048.chr #> "=EF=BF=BD?" (why so=
strange output?)
This issue is blocker for me.
---Files--------------------------------
prompt.jpg (58.8 KB)
--=20
https://bugs.ruby-lang.org/