...

View Full Version : Unicode Characters utf-8



schleewoon
12-10-2010, 10:47 PM
Hi all,
i have problem to enable Unicode chars. This is mz html-css set up:
html:


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="robots" content="index, follow" />
<title>Rafting Centar Drina Tara | ponuda</title>

<!-- ////////////////////////////////// -->
<!-- // Start Stylesheets // -->
<!-- ////////////////////////////////// -->
<link href="css/style.css" rel="stylesheet" type="text/css" />
</head>
<body>
....

css:


@charset "utf-8";
/* CSS Document */
html,body{height:100%}
body{
font-family:Tahoma, Arial, verdana; font-size:11px;
margin:0 auto; padding:0;
background-color:#fff;
color:#979797;
height:100%;
}
...

and when i try:


<p> ajdeć</p>

its not working :(
when i making mistake and not allowing Unicode??
THANKS
i can provide all source files..

DrDOS
12-10-2010, 11:18 PM
Could you provide a link to your test page? Actually part of your test string renders for me, the last symbol show as an accented c. By no means are all fonts equal when it comes to unicode, some don't support it at all, none support all of it, so a great deal depends on what blocks you want to render. Of the common Microsoft fonts Arial give the best support, it should be first on your list, but without knowing what symbols you want to render it would impossible to know what is the best font.

schleewoon
12-10-2010, 11:44 PM
sure, here is test page:
http://www.raftingtara.com/sajt6/
and here is link for full source code: link (http://www.raftingtara.com/sajt6/sajt6.rar)
i cant incule characters like: đćč...
thanks for the help :)

Apostropartheid
12-11-2010, 01:16 AM
You are not inserting Unicode characters into the document. Set the document coding to ISO-8859-1 (Western Europe) instead; although this does not specifically cover your language, it should prove sufficient.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum