[ESS] rendering UTF8
Sparapani, Rodney
r@p@r@p@ @end|ng |rom mcw@edu
Sat Jan 18 17:56:55 CET 2025
Hi Johannes:
What happens if you try this on the R-GUI for Windows? Thanks
--
Rodney Sparapani, Associate Professor of Biostatistics, He/Him
President, Wisconsin Chapter of the American Statistical Association
Division of Biostatistics, Data Science Institute
Medical College of Wisconsin, Milwaukee Campus
From: Hüsing , Johannes via ESS-help<https://www.mail-archive.com/search?l=ess-help@r-project.org&q=from:%22H%C3%BCsing+%2C+Johannes+via+ESS%5C-help%22> Wed, 15 Jan 2025 02:17:25 -0800<https://www.mail-archive.com/search?l=ess-help@r-project.org&q=date:20250115>
Not sure if it is a problem which can be fixed within ESS but it occurs within
a frame which has been opened by entering
M-x run-ess-r-newest<RET>
After establishing a contact with dbConnect to a PostgreSQL database, emacs
displays in a frame showing the R console in- and outputs in a compromised form
if the characters are non-ASCII.
> tbl(con_cbo, "ref_gkz")
# Source: table<ref_gkz> [?? x 3]
# Database: postgres [johannes using somehostname/somepath]
id gkz region
<int> <chr> <chr>
1 1 05111000 Düsseldorf, Stadt
2 2 05112000 Duisburg, Stadt
3 3 05113000 Essen, Stadt
4 4 05114000 Krefeld, Stadt
5 5 05116000 Mönchengladbach, Stadt
6 6 05117000 Mülheim an der Ruhr, Stadt
7 7 05119000 Oberhausen, Stadt
8 8 05120000 Remscheid, Stadt
9 9 05122000 Solingen, Klingenstadt
10 10 05124000 Wuppertal, Stadt
# ℹ more rows
# ℹ Use `print(n = ...)` to see more rows
Note that info symbols generated by R are rendered properly. Interestingly,
when I copy an excerpt of the above into *scratch* and enter M-x
hexl-mode<RET>, I get the message “Unknown EOL format in coding system: utf-8”
shown in the *Messages* buffer. When I remove the end-of-line characters, I am
able to switch to hexl-mode, only to discover that the mangled umlauts are
represented by four characters while the ASCII signs contain one character, for
instance,
4d c3 83 c2 bc 6c 68 65 69 6d for Mülheim.
Anything that can be done to ease my pain?
> R.Version()
$platform
[1] "x86_64-w64-mingw32"
$arch
[1] "x86_64"
$os
[1] "mingw32"
$crt
[1] "ucrt"
$system
[1] "x86_64, mingw32"
$status
[1] ""
$major
[1] "4"
$minor
[1] "3.1"
$year
[1] "2023"
$month
[1] "06"
$day
[1] "16"
$`svn rev`
[1] "84548"
$language
[1] "R"
$version.string
[1] "R version 4.3.1 (2023-06-16 ucrt)"
$nickname
[1] "Beagle Scouts"
> packageVersion("DBI")
[1] '1.1.3'
Dr. Johannes Hüsing
Epidemiologie
Landeskrebsregister NRW gGmbH
Gesundheitscampus 10
44801 Bochum
T 0234 54509-216
F 0234 54509-499
johannes.hues... using krebsregister.nrw.de<mailto:johannes.hues... using krebsregister.nrw.de>
www.landeskrebsregister.nrw<http://www.landeskrebsregister.nrw>
Das Landeskrebsregister NRW online
FACEBOOK: https://www.facebook.com/LKRNordrheinWestfalen/
INSTAGRAM: https://www.instagram.com/landeskrebsregister_nrw
LINKEDIN: https://www.linkedin.com/company/87452209/admin/feed/posts/
Newsletter LKR NRW - jetzt anmelden unter
https://www.landeskrebsregister.nrw/aktuelles/newsletter
Geschäftsführer
Dr. Andres Schützendübel
Vorsitzender der Gesellschafterversammlung
Staatssekretär Matthias Heidmeier
Sitz der Gesellschaft
Bochum
Registergericht
Amtsgericht Bochum
HRB 17715
HINWEIS: Diese Nachricht ist nur für den Adressaten bestimmt. Es ist nicht
erlaubt, diese Nachricht zu kopieren oder Dritten zugänglich zu machen. Sollten
Sie irrtümlich diese Nachricht erhalten haben, bitte ich um Ihre Mitteilung per
E-Mail oder unter der oben angegebenen Telefonnummer.
[[alternative HTML version deleted]]
More information about the ESS-help
mailing list