Code Monkey home page Code Monkey logo

Comments (10)

jisqyv avatar jisqyv commented on July 24, 2024

Where is this happening? In the Companion? or elsewhere.

from appinventor-sources.

javmarina avatar javmarina commented on July 24, 2024

I couldn't test it on the companion but Matias said:
"As soon as a type in one or more of the letter Å Ä Ö in the "textfield". The companion in my phone is still on but is disconnected from AI2.
If i use any other letters then Å Ä Ö then it works fine."
I believe I have the same issue, because I always have the error 1801 (Security Error Recieving Blocks from Browser)
I saw the bug in a compiled apk, installed on my phone.

from appinventor-sources.

jisqyv avatar jisqyv commented on July 24, 2024

OK. I think I know what is going on here. I have a branch where I have been working on internationalization and there are some patches there to properly escape non-ascii characters for sending to the Companion (this is done with Scheme). Sounds like I should extract those and put them in the main App Inventor code.

from appinventor-sources.

jisqyv avatar jisqyv commented on July 24, 2024

OK, now I am not sure what is going on. I was unable to reproduce your issue with ai2.appinventor.mit.edu (current master branch). I was able to insert Å Ä Ö in the designer in a text box and it copied to my phone just fine. My guess is that every latin-1 character should work. I know that characters outside of latin-1 fail, that is what my patch addresses. Do you know what character codes you are using? Is it possible you are using code points outside of latin-1 that happen to render the same?

from appinventor-sources.

javmarina avatar javmarina commented on July 24, 2024

I'm using Spanish letters like áéíóúñ. All of these letters shows up like a question mark although áéíóú are in Latin-1 but not in ASCII, I think.

Example:
ai issue

from appinventor-sources.

jisqyv avatar jisqyv commented on July 24, 2024

Can you send me a sample project I can debug with? (can we attach files to GitHub comments? Otherwise just mail it to me at [email protected]). Thanks.

-Jeff

from appinventor-sources.

javmarina avatar javmarina commented on July 24, 2024

I can´t send you the app with GitHub, but I´m going to send you the .apk and the .aia by email. There are some interesting things, "�" has changed...

from appinventor-sources.

jisqyv avatar jisqyv commented on July 24, 2024

Fixed it. You can see the fix here: jisqyv@eb3ee6e

I've submitted this for review.

from appinventor-sources.

javmarina avatar javmarina commented on July 24, 2024

Awesome!! Thanks ;)

from appinventor-sources.

jisqyv avatar jisqyv commented on July 24, 2024

The fix has been merged into our master branch. The next time we deploy to ai2.appinventor.mit.edu it will be included.

from appinventor-sources.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.