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

Add workaround for garbled utf-8 characters on linux #261

Merged
merged 1 commit into from
Jul 16, 2023

Conversation

waf
Copy link
Owner

@waf waf commented Jul 16, 2023

Fixes #262

See #231 that introduced this problem, but is still good behavior that we desire on all platforms.

Ultimately the following .NET bug is making this not work on Linux: dotnet/runtime#88343

We can run the "Windows Only" logic on Linux once the above bug is fixed, but there's no ETA for it.

Fixes https://github.com/waf/CSharpRepl/issues/261
See original fix in #231 that
introduced this problem.

Ultimately it's a workaround for a dotnet bug:
dotnet/runtime#88343

We can run the "Windows Only" logic on Linux once the above bug is
fixed, but there's no ETA for it.
@codecov
Copy link

codecov bot commented Jul 16, 2023

Codecov Report

Merging #261 (269d4b5) into main (45411cc) will increase coverage by 0.0%.
The diff coverage is 100.0%.

@@          Coverage Diff          @@
##            main    waf/PrettyPrompt#262   +/-   ##
=====================================
  Coverage   85.1%   85.2%           
=====================================
  Files         45      45           
  Lines       3875    3879    +4     
  Branches     598     599    +1     
=====================================
+ Hits        3301    3307    +6     
+ Misses       435     433    -2     
  Partials     139     139           
Impacted Files Coverage Δ
src/PrettyPrompt/Panes/CodePane.cs 98.6% <100.0%> (+0.6%) ⬆️

@waf waf merged commit 1f40010 into main Jul 16, 2023
@waf waf deleted the workaround-for-garbled-text-on-linux branch July 16, 2023 15:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fails to encode non-ASCII characters spam
1 participant