Click here to Skip to main content
15,901,373 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi All,

How to display spanish words in html like RECEPCIÓN

I want this to be displayed in output very clearly but it shows some symbol on particular 'O' what can i do.

Thanks
Ganapathi
Posted

if you are directly writen it into html page then it will display correctly..
see my below code.. just save it as test.html and test..
HTML
<html>
<head></head>
<body>
<table border=1>
<tr><td>RECEPCIÓN</td><td>RECEPCIÓN</td></tr>
<tr><td>RECEPCIÓN</td><td>RECEPCIÓN</td></tr>
</table>
<body>
</html>
 
Share this answer
 
v2
Comments
Ganesh_mca 4-Sep-12 8:27am    
But I want to display in column like <td>
ssd_coolguy 4-Sep-12 8:33am    
see if i correctly understands you...
i have updated my answer
ssd_coolguy 4-Sep-12 8:29am    
any 1 who downvoted. can you just expalin why... have you tested?
Ganesh_mca 4-Sep-12 8:35am    
same as usual i wrote that but it wont effect..?
Ganesh_mca 4-Sep-12 8:45am    
i am using like html = html + "<tr><td>RECEPCIÓN</td></tr>"..
Hi,

Please refer this[^] for your problem

Thanks
-Amit Gajjar
 
Share this answer
 
Add the correct charset:

http://www.w3schools.com/tags/ref_charactersets.asp[^]

UTF-8 will work for you.

Go to the link: try it yourself and make the tests ;)

Good luck!
 
Share this answer
 
Comments
Ganesh_mca 4-Sep-12 8:44am    
i alreday used UTF-8 but it wont effect..

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900