Mercurial > pidgin
comparison src/util.c @ 14174:6672fdf310b2
[gaim-migrate @ 16824]
This is better.
committer: Tailor Script <tailor@pidgin.im>
| author | Sadrul Habib Chowdhury <imadil@gmail.com> |
|---|---|
| date | Fri, 18 Aug 2006 01:55:26 +0000 |
| parents | d38d8716426c |
| children |
comparison
equal
deleted
inserted
replaced
| 14173:178540dc0517 | 14174:6672fdf310b2 |
|---|---|
| 875 else if(IS_ENTITY(">")) | 875 else if(IS_ENTITY(">")) |
| 876 pln = ">"; | 876 pln = ">"; |
| 877 else if(IS_ENTITY(" ")) | 877 else if(IS_ENTITY(" ")) |
| 878 pln = " "; | 878 pln = " "; |
| 879 else if(IS_ENTITY("©")) | 879 else if(IS_ENTITY("©")) |
| 880 pln = "\251"; | 880 pln = "\302\251"; /* or use g_unichar_to_utf8(0xa9); */ |
| 881 else if(IS_ENTITY(""")) | 881 else if(IS_ENTITY(""")) |
| 882 pln = "\""; | 882 pln = "\""; |
| 883 else if(IS_ENTITY("®")) | 883 else if(IS_ENTITY("®")) |
| 884 pln = "\256"; | 884 pln = "\302\256"; /* or use g_unichar_to_utf8(0xae); */ |
| 885 else if(IS_ENTITY("'")) | 885 else if(IS_ENTITY("'")) |
| 886 pln = "\'"; | 886 pln = "\'"; |
| 887 else if(*(text+1) == '#' && (sscanf(text, "&#%u;", £) == 1) && | 887 else if(*(text+1) == '#' && (sscanf(text, "&#%u;", £) == 1) && |
| 888 pound != 0 && *(text+3+(gint)log10(pound)) == ';') { | 888 pound != 0 && *(text+3+(gint)log10(pound)) == ';') { |
| 889 static char buf[7]; | 889 static char buf[7]; |
