2012-01-26 3 views
0

이것은 매우 간단한 질문이지만, 많은 인터넷 검색 중 하나가 답변을 찾지 못했습니다!(유니 코드로) HTML 페이지에 유니 코드 서술 문자를 씁니까?

확장 D를 지원하는 Junicode을 사용하여 웹 페이지 (PDF description of Extended-D)의 Latin Extended-D 세트에서 유니 코드 문자를 표시하고 싶습니다.

내가 표시하고자하는 코드는 "A760 LATIN CAPITAL LETTER VY"입니다.

이 내 페이지 전체에 있습니다

<!DOCTYPE html> 
<html lang="en"> 
<head> 
    <meta charset="utf-8" /> 
    <title>Font Experiments</title> 
    <link rel="stylesheet" type="text/css" href="css/style.css" /> 
</head> 
<body id="home"> 
    &#8166; 
    &#A760; 
</body></html> 

을 그리고 이것은처럼 내 스타일이 모습입니다 : 내가 확인하고 Junicode가 제대로로드되고

@font-face { 
    font-family: 'Junicode'; 
    src: url('../fonts/junicode-regular-webfont.eot'); 
    src: url('../fonts/junicode-regular-webfont.eot?#iefix') format('embedded-opentype'), 
     url('../fonts/Junicode.woff') format('woff'), 
     url('../fonts/Junicode.ttf') format('truetype'), 
     url('../fonts/junicode-regular-webfont.svg#JunicodeRegular') format('svg'); 
    font-weight: normal; 
    font-style: normal; 
} 
body { 
    font-family: junicode, gentium, caslon roman, serif; 
} 

. 그러나 첫 번째 유니 코드 문자는 as로 올바르게 표시되지만 두 번째 문자의 경우 문자로만 &#A760이 페이지에 표시됩니다.

유니 코드 확장 문자 A760으로 표시해야하는 방법을 나타낼 수 있습니까?

답변

1

나는 16 진수로 변경해야 생각 :

&#xA760; 
+0

감사합니다! 그것은 놓친 단계였습니다. – Richard

관련 문제