ruby spreadsheet german umlaute

Discussion in 'Ruby' started by zak, Jun 15, 2010.

  1. zak

    zak Guest

    Hi!

    I'm having a problem with ruby's spreadsheet gem.
    while
    book = Spreadsheet.open 'aou/a.xls'
    works,
    book = Spreadsheet.open 'äöü/a.xls'
    does not (both paths exist).

    is there a solution?

    regards!
     
    zak, Jun 15, 2010
    #1
    1. Advertising

  2. >
    > Hi!
    >
    > I'm having a problem with ruby's spreadsheet gem.
    > while
    > book =3D Spreadsheet.open 'aou/a.xls'
    > works,
    > book =3D Spreadsheet.open '=C3=A4=C3=B6=C3=BC/a.xls'
    > does not (both paths exist).
    >
    > is there a solution?
    >
    > regards!
    >
    >

    Hi,

    Are you running Windows with Ruby 1.9.1? I know that unicode filename
    support in Windows is kind of buggy. I've seen it suggested that upgrading
    to the ruby-1.9.2-preview helps a lot, you might try that.

    -Jonathan Nielsen
     
    Jonathan Nielsen, Jun 15, 2010
    #2
    1. Advertising

  3. zak

    zak Guest

    On 15 Jun., 15:32, Jonathan Nielsen <> wrote:
    > > Hi!

    >
    > > I'm having a problem with ruby's spreadsheet gem.
    > > while
    > > book = Spreadsheet.open 'aou/a.xls'
    > > works,
    > > book = Spreadsheet.open 'äöü/a.xls'
    > > does not (both paths exist).

    >
    > > is there a solution?

    >
    > > regards!

    >
    > Hi,
    >
    > Are you running Windows with Ruby 1.9.1?  I know that unicode filename
    > support in Windows is kind of buggy.  I've seen it suggested that upgrading
    > to the ruby-1.9.2-preview helps a lot, you might try that.
    >
    > -Jonathan Nielsen


    Hello,

    I'm still sticking to 1.8.6...so probably updating is agood idea :)

    Thanks
     
    zak, Jun 15, 2010
    #3
  4. [Note: parts of this message were removed to make it a legal post.]

    >
    >
    > Hello,
    >
    > I'm still sticking to 1.8.6...so probably updating is agood idea :)
    >
    > Thanks
    >
    >

    If you are using a 1.8.x, it might be as simple as setting $KCODE to 'U' or
    running ruby with -KU

    Try it out anyway, I don't know if that works or not...

    -Jonathan Nielsen
     
    Jonathan Nielsen, Jun 15, 2010
    #4
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?Q2FybG8gTWFyY2hlc29uaQ==?=

    German Umlaute (Resources)

    =?Utf-8?B?Q2FybG8gTWFyY2hlc29uaQ==?=, Nov 22, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    562
    Sylvain Lafontaine
    Nov 22, 2004
  2. Replies:
    8
    Views:
    814
    Jussi Salmela
    Mar 4, 2007
  3. Uwe Braunholz

    German "Umlaute" in QueryString

    Uwe Braunholz, Aug 11, 2008, in forum: ASP .Net
    Replies:
    12
    Views:
    2,257
    Alexey Smirnov
    Aug 16, 2008
  4. Axel Friedrich
    Replies:
    3
    Views:
    190
    Axel Friedrich
    Jun 20, 2004
  5. abadiya

    csv, perl and German umlaute

    abadiya, Sep 14, 2007, in forum: Perl Misc
    Replies:
    2
    Views:
    140
    Josef Moellers
    Sep 17, 2007
Loading...

Share This Page