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

updateMultiInput doesn't support UTF-8 characters #232

Closed
ehtmal opened this issue Oct 30, 2019 · 4 comments
Closed

updateMultiInput doesn't support UTF-8 characters #232

ehtmal opened this issue Oct 30, 2019 · 4 comments

Comments

@ehtmal
Copy link

@ehtmal ehtmal commented Oct 30, 2019

When CREATE multiInput() it work fine with unicode characters. But when you UPDATE using updateMultiInput() it won't support unicode characters.

Create:
multiInput("testMultiInput", label = "Select Items", choices = c("小田", "若土"))
Evidence:
Multi Input show all Japanese characters
image

Update:
updateMultiInput(session, "testMultiInput", choices = c("123小田abc", "123若土def"))
Evidence:
Multi Input remove all Japanese characters
image

As I have checked, other input have same issue.

@pvictor
Copy link
Member

@pvictor pvictor commented Oct 31, 2019

Hello,
I made a small change to preserve encoding, should work, can you try after installing dev version ?

devtools::install_github("dreamRs/shinyWidgets")

Victor

@ehtmal
Copy link
Author

@ehtmal ehtmal commented Oct 31, 2019

Hi,
It works like a charm. God bless you!
Envidence:
shinyWidgets::updateMultiInput(session, "testMultiInput", choices = c("123小田abc", "123若土def"))

image

Thank you very much and btw do you intent to update this to CRAN soon?

@pvictor
Copy link
Member

@pvictor pvictor commented Nov 8, 2019

Closing this, I'm preparing an update, but can't guarantee when.
If you've seen this issue with other inputs, please open anoter issue.

Victor

@pvictor pvictor closed this Nov 8, 2019
@MislavSag
Copy link

@MislavSag MislavSag commented Nov 21, 2019

I have the same problem with selectizeGroupUI function. It doesn't show utf-8 characters. I have installed latest version od the package.

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

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.