[#1026] Is this a bug? — Dave Thomas <Dave@...>

18 messages 2000/01/03

[#1084] Infinite loop — Dave Thomas <Dave@...>

17 messages 2000/01/11

[#1104] The value of while... — Dave Thomas <Dave@...>

24 messages 2000/01/11

[ruby-talk:01033] Re: Is this a bug?

From: Dave Thomas <Dave@...>
Date: 2000-01-03 18:31:03 UTC
List: ruby-talk #1033
gotoken@math.sci.hokudai.ac.jp (GOTO Kentaro) writes:

> Sorry, I can't find locale POSIX.  If you use Emacs, would you tell me
> what buffer-file-coding-system is?

nil

> Or could you tell me the result of od -x:
> 
>   % cat foo.rb
>   = 1 
>   % od -t x1 foo.rb
0000000 e0 20 3d 20 31 0a
0000006

> I'm guessing "燿 was treated as multibyte character.

Seems like it. Guy Decoux suggested changing DEFAULT_KCODE, but a
quick grep suggests it's only used in the re.c module. I'm going to
try anyway and see what happens.


Dave



-- 
Thomas Consulting.
Innovative and successful developments with Unix, Java, C, and C++. 

Now in bookstores:
 The Pragmatic Programmer.  www.pragmaticprogrammer.com/ppbook/

In This Thread