Multibyte characters in search box placeholders

Using multibyte characters in the placeholder of the search box will result in garbled characters.
The character codes of JS and HTML are UTF-8.
Tell me how to solve it

JS Code:
search.addWidget(
instantsearch.widgets.searchBox({
container: ‘#search-box’,
placeholder: ‘検索ワードを入力してください’
})
);

Hi @takuyamotoshima,

I didn’t fully understood your issue, I tried to reproduce it from your snippet but I don’t see the problem. I have made a small reproduction with your code example, you can find it on CodeSandbox. You can edit the example and send me the link with your issue. Below you can find a screenshot of what I saw in the CodeSandbox with the placeholder that you gave.

37

Thanks! :wink: