Garbage characters in script view when html and javascript are different charsets.

104 views
Skip to first unread message

Takeshi Fujita

unread,
Dec 13, 2013, 12:40:33 AM12/13/13
to fir...@googlegroups.com
When I debug a page constructed shift_jis HTML and utf-8 javascript,
Multibyte characters in the script pane are displayed as garbage characters.
I wonder if the script pane displays by each encoding.

It's hard?

Sebastian Zartner

unread,
Dec 13, 2013, 3:04:10 AM12/13/13
to fir...@googlegroups.com
Could you please provide a test case, so this display problem can be reproduced?

Sebastian

Takeshi Fujita

unread,
Dec 13, 2013, 3:58:09 AM12/13/13
to fir...@googlegroups.com
Thanks replying Sebastian.

I wrote test file and I reproduced it.

1.HTML file
2.SJIS in javascript
3.UTF8 in javascript.

It seems it occurs using multibytized Firefox.

How can I get Issue Number?

Takeshi

2013年12月13日金曜日 17時04分10秒 UTC+9 Sebastian Zartner:
Issue xxxx Gabarge characters Script pane on SJIS html and javascripts using differrent charsets.htm
utf8.js
sjis.js

Sebastian Zartner

unread,
Dec 13, 2013, 7:03:46 AM12/13/13
to fir...@googlegroups.com


On Friday, December 13, 2013 9:58:09 AM UTC+1, Takeshi Fujita wrote:
Thanks replying Sebastian.

I wrote test file and I reproduced it.
Thanks for the test case.
 
How can I get Issue Number?
Please create a new issue in our issue tracker. Then you'll get an issue number.

Sebastian

Takeshi Fujita

unread,
Dec 13, 2013, 7:36:15 AM12/13/13
to fir...@googlegroups.com
Thanks Sebastian.
I posted to Issue 7055.

Takeshi

2013年12月13日金曜日 21時03分46秒 UTC+9 Sebastian Zartner:
Reply all
Reply to author
Forward
0 new messages