· Sep 10, 2020

How to change default html file charset ?

I put a html file into ensemble dir ,it's encoding is utf-8.

But when I access this file througn browser, It show incorrectly

I checked http response header, It content-type charset is GB18030 So that's reason

How to change the charset to UTF-8?



Discussion (2)0
Log in or sign up to continue