mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
[Style] Fix cleaning unicode
This commit is contained in:
@@ -461,7 +461,7 @@ namespace SabreTools.Helper.Tools
|
|||||||
/// <returns>Cleaned string</returns>
|
/// <returns>Cleaned string</returns>
|
||||||
public static string RemoveUnicodeCharacters(string s)
|
public static string RemoveUnicodeCharacters(string s)
|
||||||
{
|
{
|
||||||
return new string(s.Where(c => c > 255).ToArray());
|
return new string(s.Where(c => c <= 255).ToArray());
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|||||||
Reference in New Issue
Block a user