Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Text encoding in widgets #97

Open
tmelliott opened this issue May 24, 2018 · 1 comment
Open

Text encoding in widgets #97

tmelliott opened this issue May 24, 2018 · 1 comment

Comments

@tmelliott
Copy link

tmelliott commented May 24, 2018

Not sure if this is a problem with gWidgets2, or further down in RGtk2 ... however, some characters are stored incorrectly in the svalue of objects:

w <- gwindow()
g <- ggroup(container = w)
t <- gedit("text here", container = g)
x <- "K2Data–A–iNZight.csv"
x
# [1] "K2Data–A–iNZight.csv"
svalue(t) <- x
svalue(t)
# [1] "K2Data–A–iNZight.csv"

Only happens on Windows - Mac and Linux seem unaffected.

@jverzani
Copy link
Owner

Thanks for the report. I'm pretty sure this sits with RGtk2. I recently had a related question and the answer involved setting the encoding.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants