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

Implicit ASCII <=> UTF8 casting between Cocoapod <=> Macruby is not working #16

Closed
barttenbrinke opened this issue Jun 2, 2012 · 1 comment

Comments

@barttenbrinke
Copy link

If I use the Bas64+NSData Cocoapod and I wrap a Ruby function around it, to use it's native implementation of Base64. something goes wrong. The Bas64 encoded string is incorrect. I think the implicit casting that is going on is doing something wrong. As RubyMotion does not support ASCII string, I cannot explicitly cast it to fix it.

See this Gist for an example:
https://gist.github.com/2786823

@alloy
Copy link
Contributor

alloy commented Oct 7, 2013

With the introduction of an official API in iOS 7, this becomes slightly less important. In case you’re running into other pitfalls due to this, then please file an official RubyMotion support ticket.

@alloy alloy closed this as completed Oct 7, 2013
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

2 participants