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

Compressing and uncompressing strings to numbers #40

Open
phase opened this issue Nov 16, 2015 · 1 comment
Open

Compressing and uncompressing strings to numbers #40

phase opened this issue Nov 16, 2015 · 1 comment

Comments

@phase
Copy link
Owner

phase commented Nov 16, 2015

'īu should output 300 because ī has a unicode value of 300. u takes a string and uncompresses it to a number, while c compresses a number to a string. I don't know if the latter is needed. Here is the Java implementation.

@refi64
Copy link
Collaborator

refi64 commented Nov 16, 2015

Well, Unicode isn't supported yet. C deals with stuff on a per-byte basis, and O follows that. And changing char to wchar_t will print garbage on Linux. :/

I'll look a bit more into it.

@refi64 refi64 mentioned this issue Nov 16, 2015
@phase phase added this to the Reimplement the rest of O milestone Nov 17, 2015
phase added a commit that referenced this issue Nov 23, 2015
refi64 added a commit that referenced this issue Mar 27, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants