Forum: Ruby on Rails very easy ruby lang question...

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
hui (Guest)
on 2006-03-27 11:23
(Received via mailing list)
irb(main):035:0> 0xb0
=> 176
irb(main):036:0> "\xb0"
=> "\260"


why defferent?
hui (Guest)
on 2006-03-27 11:27
(Received via mailing list)
solved

forget it........
Calle D. (Guest)
on 2006-03-27 11:36
(Received via mailing list)
>>>>> "hui" == hui  <removed_email_address@domain.invalid> writes:

> irb(main):035:0> 0xb0
> => 176
> irb(main):036:0> "\xb0"
> => "\260"


> why defferent?

176 base 10 == 260 base 8.

--
		     Calle D. <removed_email_address@domain.invalid>
		 http://www.livejournal.com/users/cdybedahl/
	"Just about anything can be done if you are demented enough."
		-- Christopher C. Petro, scary.devil.monastery
This topic is locked and can not be replied to.