[#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:70675] [Ruby trunk - Bug #11511] [Open] Problem with cyrillic letter И
From:
xiro@...
Date:
2015-09-07 12:57:49 UTC
List:
ruby-core #70675
Issue #11511 has been reported by xiro@inboxdesign.me xiro@inboxdesign.me.
----------------------------------------
Bug #11511: Problem with cyrillic letter =D0=98
https://bugs.ruby-lang.org/issues/11511
* 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.
--=20
https://bugs.ruby-lang.org/