Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > ruby spreadsheet german umlaute

Reply
Thread Tools

ruby spreadsheet german umlaute

 
 
zak
Guest
Posts: n/a
 
      06-15-2010
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!
 
Reply With Quote
 
 
 
 
Jonathan Nielsen
Guest
Posts: n/a
 
      06-15-2010
>
> 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

 
Reply With Quote
 
 
 
 
zak
Guest
Posts: n/a
 
      06-15-2010
On 15 Jun., 15:32, Jonathan Nielsen <(E-Mail Removed)> 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
 
Reply With Quote
 
Jonathan Nielsen
Guest
Posts: n/a
 
      06-15-2010
[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

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
German "Umlaute" in QueryString Uwe Braunholz ASP .Net 12 08-16-2008 05:42 PM
csv, perl and German umlaute abadiya Perl Misc 2 09-17-2007 03:12 PM
Sorting strings containing special characters (german 'Umlaute') DierkErdmann@mail.com Python 8 03-04-2007 07:55 AM
German Umlaute (Resources) =?Utf-8?B?Q2FybG8gTWFyY2hlc29uaQ==?= ASP .Net 1 11-22-2004 06:06 PM
RDE: Problems with German Umlauts (Umlaute) Axel Friedrich Ruby 3 06-20-2004 12:26 PM



Advertisments