Skip to main content

All Questions

Tagged with
1 vote
2 answers
562 views

What is the use of lang attribute in HTML if we have defined the charset as utf-8

Why html lang="en" is required if we are defining meta charset="utf-8".I mean we have defined charset so what's the use of lang? What I understand from utf-8 is that it contains ...
koil's user avatar
  • 51
0 votes
0 answers
223 views

Is it mandatory/necessary to specify the character set (character encoding) used in HTML5 document?

As per my knowledge : For HTML5, the default character encoding is UTF-8. and the type of HTML document is recognized as HTML5 document by the <!DOCTYPE html> declaration at the very beginning ...
PHPLover's user avatar
  • 12.9k
0 votes
1 answer
2k views

Adding chartset:utf-8 to @font-face class doesn't work

I have set the charset:utf-8 property in @font-face class. But it does not work. When I set the metadata tag, it's working correctly. How do I get this way to work as well? My CSS Section: @font-...
M K's user avatar
  • 2,027
2 votes
2 answers
10k views

special characters turned into question mark after duplication of the same page

since last friday, I've duplicated my first page ,and a lot of time (about 40 of the same one), after checking one of the duplicated pages , I found out that the special characters ( é,è,ç,...) were ...
souzouker's user avatar
0 votes
0 answers
23 views

UTF-8 meta charset, not working [duplicate]

Im having some trouble formatting my HTML code to UTF-8. I have HTML and PHP on the same page. I used notepad++ but alredy formated in general settings to save file in UTF-8 withot BOM. But still i ...
Asim's user avatar
  • 976
0 votes
2 answers
207 views

How to make a .htm page accept letters of languages other than english?

Currently I am working on an application which converts a .msg file to pdf. I am using a pdf converter which converts html to pdf file.So, I convert the email to html and then use the tool to convert ...
V K's user avatar
  • 1,709
0 votes
1 answer
39 views

I can't create spacing between text boxes

I need to get my project looking like the image attached. I'm new at this and struggling. What am I missing? I can't figure out how to space our my text boxes and create that nice, even spacing. &...
Eric Mortensen's user avatar
0 votes
1 answer
403 views

How to make Utf-8

I have set my coding on website using <meta charset="Utf-8"> I have it right written, so if there is a mistake, it is not in my website. Now.. It does not work. I think it is because of website ...
David Stančík's user avatar
0 votes
1 answer
1k views

echo HINDI language word stored in an array in PHP script

I am trying to echo hindi script words stored in an array. The output is getting displayed when i use print_r() but not when i use echo. The code is below. what changes do I need to make? <meta ...
Azra Mahrukh's user avatar
1 vote
0 answers
562 views

How to get value from database in Hindi and Punjabi font and display in hindi and punjabi

Actually i want to know how to show the Hindi or Punjabi font in my page. Actually i did insert in database successfully but while showing, it results me like this कà¥à¤¯à¤¾ बात. This is my ...
Jayant Rawat's user avatar
2 votes
1 answer
9k views

Error with UTF-8 character encoding in html file

I have looked and tried nearly everything but W3C validator keeps on giving me errors about the character encoding. I can't get my head around it hence I looked on the internet and with no luck I ...
Mudassir's user avatar
  • 1,156
-2 votes
1 answer
112 views

meta description greek letters

I have a problem with php news aggregator site. When post meta description have greek letters i have this problem : <meta charset="utf-8"/> <meta http-equiv="x-ua-compatible" content="...
joni92's user avatar
  • 1
1 vote
0 answers
811 views

utf8 character from cp437 is garbled when rendered via JS, not when php rendered

I have stored text in my database as utf-8. The text may contain some ascii art from the code point U+2500 to U+25FF range in the utf-8 table, perhaps even other code point ranges. I'm not sure since ...
Øystein Amundsen's user avatar
8 votes
2 answers
8k views

The character encoding declaration of the HTML document was not found

randomly getting this issue come up in my web console of firefox (is the js tab) Its only just appeared and cant link it to any changes i have made. The full error is: The page was reloaded, ...
Lovelock's user avatar
  • 8,005
0 votes
1 answer
1k views

What happens to the jsp page not supporting utf8 characters for html text field

I am using the following code to support UTF-8 in jsp. Please look at this : JSP Code : editDistList.jsp <%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %> But when ...
vermaraj's user avatar
  • 644

15 30 50 per page