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

Encoding variable is wrong #33

Closed
JoshCheek opened this issue Jun 30, 2014 · 1 comment
Closed

Encoding variable is wrong #33

JoshCheek opened this issue Jun 30, 2014 · 1 comment

Comments

@JoshCheek
Copy link
Owner

-Ku is deprecated on MRI and everywhere else.

I think Rbx uses -U and -E, I think MRI uses -E something or other

Probably this is all working incidentally due to UTF being turned on by default or something. IDK, look into it at some point.

@JoshCheek JoshCheek mentioned this issue Sep 15, 2014
Closed
17 tasks
@JoshCheek
Copy link
Owner Author

I don't think this is actually true. I think -Ku is the encoding of the source file (__ENCODING__), -U is the "default internal encoding", which I think is what IO streams transcode their input to, and -E allows you to set both default internal and default external encodings, so some overlap with -U on that one.

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

No branches or pull requests

1 participant