Difference between revisions of "Talk:Encodings and Regimes - Old Content"

From Wiki
Jump to navigation Jump to search
m
(move iso-8859-9 to iso-8859-15?)
Line 1: Line 1:
How to obtain a Unicode charecter by using its decimal code ? -- Quy
+
I think that we should rename the iso-8859-9 to iso-8859-15 in both the table on this page and the page name. -15 is afaik latin-9 and -9 is latin-5. --[[User:Patrick Gundlach|pg]]
 
 
The simplest way is to split the 16 bits into its component 2 bytes: +U1ED5 -> \uchar{"1E}{"D5} ->
 
\uchar{30}{213}. --[[User:Adam|Adam]] 20:07, 1 Jan 2005 (CET)
 
 
 
After loading Vietnamese UTF8 (your description) I try:
 
<texcode>
 
\starttext
 
\uchar{30}{160} % 1EA0
 
\stoptext
 
</texcode>
 
 
 
But there is error:
 
 
 
<texcode>
 
kpathsea: Running mktextfm UnicodeRegular1e
 
/work/apps/tetex/share/texmf/web2c/mktexnam: Could not map source abbreviation U for UnicodeRegular1e.
 
/work/apps/tetex/share/texmf/web2c/mktexnam: Need to update       
 
/work/apps/tetex/share/texmf-dist/fonts/map/fontname/special.map?
 
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input UnicodeRegular1e
 
This is METAFONT, Version 2.71828 (Web2C 7.5.4)
 
 
 
kpathsea: Running mktexmf UnicodeRegular1e
 
! I can't find file `UnicodeRegular1e'.
 
<*> ...mag:=1; nonstopmode; input UnicodeRegular1e
 
                                                 
 
Please type another input file name
 
! Emergency stop.
 
<*> ...mag:=1; nonstopmode; input UnicodeRegular1e
 
                                               
 
Transcript written on mfput.log.
 
grep: UnicodeRegular1e.log: No such file or directory
 
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input UnicodeRegular1e' failed to make     
 
 
 
UnicodeRegular1e.tfm.
 
kpathsea: Appending font creation commands to missfont.log.
 
! Font \unicodefont=UnicodeRegular1e at 12.0pt not loadable: Metric (TFM) file
 
not found.
 
<recently read> \bodyfontsize
 
                             
 
\unicodeglyph ... \currentfontscale \bodyfontsize
 
                                                  \unicodestrut \unicodefont...
 
 
 
\uchar ... \unicodetwo \relax \handleunicodeglyph
 
                                                  \egroup
 
l.4 \uchar{30}{160}
 
                 
 
?
 
</texcode>
 
 
 
Any ideas ? Thanks. Quy
 
 
 
Sorry. \uchar is for output. \utfunifontglyph{"1ED5} (hex) ought to do it. (assuming you have VN setup). --[[User:Adam|Adam]] 23:19, 5 Jan 2005 (CET)
 

Revision as of 10:45, 8 August 2005

I think that we should rename the iso-8859-9 to iso-8859-15 in both the table on this page and the page name. -15 is afaik latin-9 and -9 is latin-5. --pg