Subversion Repositories Kolibri OS

Rev

Rev 7749 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 7749 Rev 7750
Line 63... Line 63...
63
"percnt","%",
63
"percnt","%",
Line 64... Line 64...
64
 
64
 
Line 65... Line 65...
65
0}; 
65
0}; 
Line 66... Line 66...
66
 
66
 
67
 
67
 
68
byte unicode_chars[] = "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§¨©ª«¬­®¯àáâãäåæçèéêëìíîïðñh£\243i\105\244\0";
68
unsigned char unicode_chars[] = "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§¨©ª«¬­®¯àáâãäåæçèéêëìíîïðñh£\243i\105\244\0";
Line 69... Line 69...
69
 
69
 
70
bool GetUnicodeSymbol(dword in_tag)
70
bool GetUnicodeSymbol(dword in_tag)
71
{
71
{
72
	int j;
72
	int j, specia1040;
73
	
73
	
74
	for (j=0; unicode_tags[j]!=0; j+=2;) 
74
	for (j=0; unicode_tags[j]!=0; j+=2;) 
75
	{
75
	{
76
		if (!strcmp(in_tag, unicode_tags[j]))
76
		if (!strcmp(in_tag, unicode_tags[j]))
Line 77... Line 77...
77
		{
77
		{
-
 
78
			strcat(#line, unicode_tags[j+1]);
-
 
79
			return true;
78
			strcat(#line, unicode_tags[j+1]);
80
		}
79
			return true;
81
	}
-
 
82
 
-
 
83
	specia1040 = atoi(in_tag + 1) - 1040;
-
 
84
	
-
 
85
	if (tag[1] == '1') && (specia1040>=0) 
-
 
86
	&& (specia1040<=72) && (strlen(in_tag) == 5)
-
 
87
	{
80
		}
88
		if (strlen(#line)
-
 
89
			/*
81
	}
90
			j = strlen(#line);
82
 
91
			line[j] = unicode_chars[specia1040];
Line 83... Line 92...
83
	j = atoi(in_tag + 1) - 1040;
92
			line[j+1] = EOS;
84
	if (tag[1] == '1') && (j>=0) && (j<=72) && (strlen(in_tag) == 5)
93
			*/