Kaydet (Commit) 6840ba61 authored tarafından Herbert Dürr's avatar Herbert Dürr Kaydeden (comit) Caolán McNamara

#i103131# in doubt treat unicode variation selectors as invisible(cherry picked…

#i103131# in doubt treat unicode variation selectors as invisible(cherry picked from commit 179f88df)
üst b93b23fe
......@@ -253,6 +253,11 @@ inline bool IsControlChar( sal_UCS4 cChar )
// byte order markers and invalid unicode
if( (cChar == 0xFEFF) || (cChar == 0xFFFE) || (cChar == 0xFFFF) )
return true;
// variation selectors
if( (0xFE00 <= cChar) && (cChar <= 0xFE0F) )
return true;
if( (0xE0100 <= cChar) && (cChar <= 0xE01EF) )
return true;
return false;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment