Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] Emacs IME, locale, encodings, R, aarrrrgggghhhh!!!!
- Date: Sun, 7 Mar 2021 12:48:08 +0000
- From: Darren Cook <darren@example.com>
- Subject: Re: [tlug] Emacs IME, locale, encodings, R, aarrrrgggghhhh!!!!
- References: <d6b21c8964fcf607f447aa99898ca59fc19c8ae3.camel@uchicago.edu>
> house.names <- c("name", "平屋", "どこかのマンション", "湯河原マンション", "熱海マンション") >> Encoding(house.names) > [1] "unknown" "unknown" "unknown" "unknown" "unknown" > [1] "unknown" "UTF-8" "UTF-8" "UTF-8" "UTF-8" That looks like the key difference to zoom in on, doesn't it. R can see them as UTF-8 strings in batch mode, but not when it is a child process of emacs. Can you print the env variables, from within the R script, to see if they are any different when in the child process? Also see https://stackoverflow.com/a/23699701/841830 "The Encoding function returns unknown if a character string has a "native encoding" mark or if it's in ASCII." Darren
- Follow-Ups:
- Re: [tlug] Emacs IME, locale, encodings, R, aarrrrgggghhhh!!!!
- From: Stuart Luppescu
- References:
- [tlug] Emacs IME, locale, encodings, R, aarrrrgggghhhh!!!!
- From: Stuart Luppescu
Home | Main Index | Thread Index
- Prev by Date: [tlug] Emacs IME, locale, encodings, R, aarrrrgggghhhh!!!!
- Next by Date: Re: [tlug] Running from USB memory stick (hardware issues)
- Previous by thread: [tlug] Emacs IME, locale, encodings, R, aarrrrgggghhhh!!!!
- Next by thread: Re: [tlug] Emacs IME, locale, encodings, R, aarrrrgggghhhh!!!!
- Index(es):