mirror of
https://github.com/glest/glest-source.git
synced 2025-02-25 12:12:25 +01:00
- see if this helps james (saves as utf8)
This commit is contained in:
parent
b98effd5f4
commit
6028ff30a6
@ -1799,39 +1799,6 @@ bool isKeyDown(int virtualKey) {
|
||||
}
|
||||
|
||||
string replaceAllHTMLEntities(string& context) {
|
||||
// quotation mark = APL quote " " " " " "
|
||||
// ampersand & & & & & &
|
||||
// less-than sign < < < < < <
|
||||
// greater-than sign > > > > > >
|
||||
// Latin capital ligature OE Œ Œ Œ Œ Œ Œ
|
||||
// Latin small ligature oe œ œ œ œ œ œ
|
||||
// Latin capital letter S with caron Š Š Š Š Š Š
|
||||
// Latin small letter s with caron š š š š š š
|
||||
// Latin capital letter Y with diaeresis Ÿ Ÿ Ÿ Ÿ Ÿ Ÿ
|
||||
// modifier letter circumflex accent ˆ ˆ ˆ ˆ ˆ ˆ
|
||||
// small tilde ˜ ˜ ˜ ˜ ˜ ˜
|
||||
// en space      
|
||||
// em space      
|
||||
// thin space      
|
||||
// zero width non-joiner ‌ ‌ ‌
|
||||
// zero width joiner ‍ ‍ ‍
|
||||
// left-to-right mark ‎ ‎ ‎
|
||||
// right-to-left mark ‏ ‏ ‏
|
||||
// en dash – – – – – –
|
||||
// em dash — — — — — —
|
||||
// left single quotation mark ‘ ‘ ‘ ‘ ‘ ‘
|
||||
// right single quotation mark ’ ’ ’ ’ ’ ’
|
||||
// single low-9 quotation mark ‚ ‚ ‚ ‚ ‚ ‚
|
||||
// left double quotation mark “ “ “ “ “ “
|
||||
// right double quotation mark ” ” ” ” ” ”
|
||||
// double low-9 quotation mark „ „ „ „ „ „
|
||||
// dagger † † † † † †
|
||||
// double dagger ‡ ‡ ‡ ‡ ‡ ‡
|
||||
// per mille sign ‰ ‰ ‰ ‰ ‰ ‰
|
||||
// single left-pointing angle quotation mark ‹ ‹ ‹ ‹ ‹ ‹
|
||||
// single right-pointing angle quotation mark › › › › › ›
|
||||
// euro sign € € € € € €
|
||||
|
||||
replaceAll(context,""","\"");
|
||||
replaceAll(context,"&","&");
|
||||
replaceAll(context,"<","<");
|
||||
|
Loading…
x
Reference in New Issue
Block a user