I am facing the same problem. Analyzing the source code showed that the unescape call on the button.text in the setButtonText() function causes the problem. For me it seems that the unescape function doesn't support japanese or UTF-8 in general. The following code change has worked for me: