Chinese word.... turn into alien language | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 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...

5th Jan 2017, 10:47 AM
Leon lit
Leon lit - avatar
4 Respostas
+ 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
5th Jan 2017, 10:53 AM
Alex
Alex - avatar
+ 2
thanks for the help :D
5th Jan 2017, 10:57 AM
Leon lit
Leon lit - avatar
+ 1
add following line to your <head>-tag <meta charset="utf-8">
5th Jan 2017, 10:50 AM
Andreas K
Andreas K - avatar
+ 1
It's not possible to choose the file encoding type at Code Playground..
5th Jan 2017, 10:55 AM
Andreas K
Andreas K - avatar