1,53 → 1,42 |
char *unicode_tags[]={ |
"nbsp", " ", |
"#38", " ", |
"#160", " ", |
char *unicode_symbols[]={ |
"#32", " ", |
"#34", "\"", "quot","\"", |
"#38", "&", "amp", "&", |
"#39", "'", |
"#039","'", |
"#60", "<", "lt", "<", |
"#62", ">", "gt", ">", |
"#91", "[", |
"#93", "]", |
"#96", "'", |
"#149","-", |
"#151","-", |
"#160"," ", "nbsp", " ", |
"#169","(c)", "copy", "(c)", |
"#171","<<", "laquo","<<", |
"#174","(r)", "reg", "(r)", |
"#187",">>", "raquo",">>", |
|
"copy", "(c)", |
"#169", "(c)", |
|
"trade", "[TM]", |
|
"reg", "(r)", |
"#174", "(r)", |
|
"bdquo", ",,", |
|
"amp", "&", |
"#38", "&", |
|
"lt", "<", |
"#60", "<", |
|
"gt", ">", |
"#62", ">", |
|
"minus", "-", |
"ndash", "-", |
"mdash", "-", //-- |
"#8722", "-", |
"#8211", "-", |
"#151", "-", |
"#149", "-", |
"#9642", "-", //square in the middle of the line |
|
"rsquo", "'", |
"#39", "'", |
"#039", "'", |
"#96", "'", |
"#8217", "'", |
|
"quot", "\"", |
"#34", "\"", |
"ldquo", "\"", |
"rdquo", "\"", |
"#8222", "\"", |
"#8221", "\"", |
"#1028", "\242", |
"#1030", "I", |
"#1031", "\244", |
|
"laquo", "<<", |
"#171", "<<", |
"raquo", ">>", |
"#187", ">>", |
"#8211", "-", |
"#8217", "'", |
"#8222", "\"", "ldquo", "\"", |
"#8221", "\"", "rdquo", "\"", |
"#8470", "N", |
"#8722", "-", |
"#9642", "-", //square in the middle of the line |
|
"uarr", "\24", |
"darr", "\25", |
54,14 → 43,11 |
"rarr", "\26", |
"larr", "\27", |
|
"#1028", "\242", |
"#1030", "I", |
"#1031", "\244", |
|
"#8470", "N", |
"bull", "\31", //âîîáùå çäåñü òî÷êà |
"bull", "\31", |
"percnt","%", |
|
"#xfeff", "", |
|
0}; |
|
|
71,11 → 57,11 |
{ |
int j, specia1040; |
|
for (j=0; unicode_tags[j]!=0; j+=2;) |
for (j=0; unicode_symbols[j]!=0; j+=2;) |
{ |
if (!strcmp(in_tag, unicode_tags[j])) |
if (!strcmp(in_tag, unicode_symbols[j])) |
{ |
strcat(#line, unicode_tags[j+1]); |
strcat(#line, unicode_symbols[j+1]); |
return true; |
} |
} |
82,7 → 68,7 |
|
specia1040 = atoi(in_tag + 1) - 1040; |
|
if (tag[1] == '1') && (specia1040>=0) |
if (ESBYTE[in_tag+1] == '1') && (specia1040>=0) |
&& (specia1040<=72) && (strlen(in_tag) == 5) |
{ |
if (strlen(#line)<sizeof(line)-2) { |