diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/NewsAggregator/Src/Utils.cpp | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/plugins/NewsAggregator/Src/Utils.cpp b/plugins/NewsAggregator/Src/Utils.cpp index e9863f83a5..f14b246d62 100644 --- a/plugins/NewsAggregator/Src/Utils.cpp +++ b/plugins/NewsAggregator/Src/Utils.cpp @@ -1,4 +1,4 @@ -/*
+/*
Copyright (C) 2012 Mataes
This is free software; you can redistribute it and/or
@@ -462,6 +462,23 @@ LPCTSTR ClearText(CMStringW &result, const wchar_t *message) SysFreeString(bstrHtml);
SysFreeString(bstrRes);
+ result.Replace(L"£", L"£"); //pound
+ result.Replace(L"²", L"²"); //sup2
+ result.Replace(L"ë", L"ë"); //euml
+ result.Replace(L"ö", L"ö"); //ouml
+ result.Replace(L"ž", L"ž"); //Latin Small Letter Z With Caron
+ result.Replace(L"й", L"й"); //Combining Breve
+ //result.Replace(L"́", L""); //Combining Acute Accent острое ударение
+ result.Replace(L"ѣ", L"ѣ"); //Cyrillic Small Letter Yat
+ result.Replace(L"​", L"");
+ result.Replace(L"‎", L""); //lrm
+ result.Replace(L"‏", L""); //rlm
+ result.Replace(L"‑", L"‑"); //Non-Breaking Hyphen
+ result.Replace(L"‣", L"‣"); //Triangular Bullet
+ result.Replace(L"−", L"−"); //minus
+ result.Replace(L"☺", L"☺"); //White Smiling Face
+ result.Replace(L"", L"");
+
return result;
}
|