lalop
Repos
15
Followers
56
Following
24

Events

closed issue
issue deconding special character

I get a strange result when I have the character œ in a string the string seems to be returned in a different encoding. Currently I reproduce the issue on a server but not in local. I think the issue come from the php configuration but I can't find what's wrong yet.

I reproduce the issue on the demo too https://jolitypo.jolicode.com/, using the french locale, applying all fixes and pasting the string <p>des œuvres d'art.</p>

Created at 2 weeks ago
issue comment
issue deconding special character

I'm using php 8.0 locally and 8.1.16 on the serveur, it seems to be linked with some comments in the commit. I was using jolitypo 1.3.0, I do not reproduce the issue on 1.4.0. Thank you for your comment

Created at 2 weeks ago
opened issue
issue deconding special character

I get a strange result when I have the character œ in a string the string seems to be returned in a different encoding. Currently I reproduce the issue on a server but not in local. I think the issue come from the php configuration but I can't find what's wrong yet.

I reproduce the issue on the demo too https://jolitypo.jolicode.com/, using the french locale, applying all fixes and pasting the string <p>des œuvres d'art.</p>

Created at 2 weeks ago
started
Created at 2 months ago
issue comment
runPython can return a value

ok, thank you for your answer

Created at 2 months ago
issue comment
runPython can return a value

My first question is why are you using python's exec function instead of a direct execution. Then I would like to use this hook to run a python script that computes a value and use this value in javascript. If you have some idea on the way to add this I can contribute in that way :)

Created at 2 months ago
opened issue
runPython coulds return a value

According to pyodide runPython can return a value https://pyodide.org/en/stable/usage/quickstart.html?highlight=expression#running-python-code I was looking to the code and I see that you wrap the run call into an exec method which is part of the problem here. Right now I don't really understand why this wrapper is here and I assume that's because I'm pretty new to the python engine. In an other hand I don't see how to get anything else then stdout and/or stderr with this hook.

I'll be happy to contribute if you think that could be a great enhancement to get the result of code execution and/or share some variables like globals for exemple.

Created at 2 months ago