Project

General

Profile

Actions

Backport #5601

closed

Ruby 1.9.3 fails to compile in directories with accent in their names

Added by jaco (Eric Jacoboni) about 13 years ago. Updated almost 13 years ago.

Status:
Closed
Assignee:
-
[ruby-core:40860]

Description

Trying to compile ruby in a directory with a name containing accents fails :

To reproduce, use a directory named "Téléchargements" (as xdg-users-dir create it on some French Linux boxes).

Download the ruby tar archive, place it in this directory, untar it and then try the stanza "./configure && make" :

$ ./configure
(...)
$ make
(...)
linking miniruby
./tool/mkconfig.rb:11:in require': incompatible character encodings: ASCII-8BIT and US-ASCII (Encoding::CompatibilityError) from ./tool/mkconfig.rb:11:in '


Related issues 2 (0 open2 closed)

Related to Backport193 - Backport #5533: Pathname's raising "invalid sequence"Closedyugui (Yuki Sonoda)11/01/2011Actions
Has duplicate Backport193 - Backport #5629: Windows環境で日本語を含むパスに対して、File.expand_path が存在しないパスを返すパターンが存在する。Closed11/14/2011Actions
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0