Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Error] An error is caused if the source code contains English characters #103

Open
WuKaiYi opened this issue Aug 31, 2023 · 1 comment
Open
Labels
bug Something isn't working

Comments

@WuKaiYi
Copy link

WuKaiYi commented Aug 31, 2023

Included in the original code

    public static string[] SplitStringByComma(string input)
    {
        string[] splitStrings = input.Split(new char[] { ',', ',' });

        return splitStrings;
    }

After FSR processing

    public static string[] SplitStringByComma(string input)
    {
        string[] splitStrings = input.Split(new char[] { '��', ',' });

        return splitStrings;
    }

No problem if don't use Chinese characters

@handzlikchris
Copy link
Owner

Thanks - It's probably Roslyn not treating those characters correctly - I'll leave it as a bug but it won't unfortunately have too high of a priority to fix

@handzlikchris handzlikchris added the bug Something isn't working label Sep 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants