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

Fix Capture.watchStream to respect default text encoding #194

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

alexleech
Copy link

Previously, buffer may contain truncated UTF-8 characters at the end, resulting in invalid characters in the subsequent String constructor. By using InputStreamReader, we can specify the default encoding used by the String constructor so buffer will not split the bytes for a single character.

Previously, buffer may contain truncated UTF-8 characters at the end, resulting in invalid characters in the subsequent String constructor.  By using InputStreamReader, we can specify the default encoding used by the String constructor so buffer will not split the bytes for a single character.
@alexarchambault
Copy link
Member

This PR arrived a bit before the revamping of jupyter-scala, under the "almond" name.

I guess ensuring almond works fine on Windows should fix that... (There are a number of issues with the windows tag.)

Keeping this PR open as a reminder to check if the corresponding code in almond was changed once the windows issues are addressed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants