Wrong file encoding for date.rb on ubuntu

G

Georg Leciejewski

After upgrading ruby via ubuntu package manager the encoding of the
date.rb seems to be wrong, so there are a whole bunch of strange chars
inside the file.

OS Ubuntu hardy

ruby 1.8.6 (2007-09-24 patchlevel 111) [i486-linux]


I dont know where this issue is comming from. Maybe it is related to my
german ubuntu setup or to some fileencoding changes in the ubuntu or
ruby repos.
I had a similar issue a month ago with a file from a gem (forgot where
it was)

I opened the date.rb in geany and it says the encoding is iso. To fix
the issue i went onto a windows virtualbox and opened the date.rb (from
win ruby install) with notepad++ and copied the utf-8 encoded content
into my lokal date.rb


Posting this issue here to see whether or not i`m the only one.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,482
Members
44,900
Latest member
Nell636132

Latest Threads

Top