+ 1
Chinese word.... turn into alien language
When i write some chinese word in my HTML code in the code playground it shows the word when i run it but when i copy the code into my pc and run it ,it shows me some weird words like this .....: ä½ å¥½ï¼Œå¦‚æžœä½ æ˜¯ä¸ªåŽäººæˆ–ä¸å›½äººå’Œä½ 的英è¯å¾ˆå¼±ã€‚ã€‚ã€‚ã€‚ã€‚ä½ åƒä¸‡ä¸èƒ½æ”¾å¼ƒå› ä¸ºï¼Œå¤©ä¸‹æ— éš¾äº‹ï¼Œåªæ€•æœ‰å¿ƒäººã€‚。和失败是æˆåŠŸä¹‹æ¯ã€‚ã€‚ã€‚åŠ æ²¹å§ã€‚。。(⌒o⌒) can someone help me solve this problem...
5 Réponses
+ 4
Make sure you have the localization to run chinese text on your pc and add this to your html header.
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
UTF-8 is an encoding that allows the proper text to be displayed.
See: https://en.wikipedia.org/wiki/UTF-8
+ 2
thanks for the help :D
+ 1
add following line to your <head>-tag
<meta charset="utf-8">
+ 1
It's not possible to choose the file encoding type at Code Playground..