
reaktor
France
Asked
— Edited
Hello, after several tests and with 2 PCs (Windows 10, 32 bits and 64 bits in French), I have this bug with accents. I also tried with PandoraBot and SynBot. é is replaced by ? The Http server page doesn't recognize them. If I say "Quelle est ta date de naissance" it works. But I have this answer "Je suis n? le 7 d?cembre 2001" If I say "Quand es tu né" I don't have an answer. On the other hand it works if I write directly in Pandorabot and Synbot. An idea to correct that? I know that the Http server page (custom) generates the page in UTF-8 with <meta charset="utf-8" /> but I dont know how to do it for the Http server page. Thank you
@DJ: The Http Server control has a bug/problem with the encoding.
steps to reproduce: 1) Start an empty project with http server and variable watcher control
2) set a variable $text1 with some accents:
The variable is correctly assigned and ez-scripts prints the variable too:
4) retrieve the variable content:
The content returned is broken!
@ptp Thank you very much for finding. When I was doing a wikipedia search it worked but with http server didn't works. This confirms my doubts. Another thing with Synbot, when I want to use the console script tab with Http server the page doesn't exist.
Solved for accent recognition in the Http query. I edit this in my javascript file and it works now.
But for the return of the text in the page Http server, we always have pr?f?r? and not préféré.
Can you please explain/detail the issue ?
It's not too bad because the plugin works perfectly. But when I click on the Script Console page does not work. This is only done with Synbot. If I delete the plugin the page works again.
@Reaktor: That's an Interesting finding, although is not related to SynBot.
@DJ: It happens when you have a project with http server a plugin component and you use script console (browser)
Test: Dynamixel plugin with http server