medis
medis copied to clipboard
UTF8 encoded
Thanks for this new version of Medis. Many cool options availables!
The only regression from the 1st version is that UTF8 characters stay encoded...
The new one:
The version 1:
Is there anything to do to have human readable characters?
Hey @davidesigner 👋
Thanks for using Medis! I can't reproduce this with 2.7.0. Are there any special chars that don't render properly?

Hi @luin,
Thanks for your reply, sorry for my late reply...
My Redis documents are encoded:
{"id":"selection-e8667b64-4985-45e9-a960-3243c1dffd96","openedBlocks":["Informations importantes","Bien pr\u00e9parer votre s\u00e9jour","Suggestions de vols"]}
The first version of Medis display decoded characters when I choose the JSON format:


The new version for the same document:

When I create a document from the GUI in the new version with UTF8 characters, all works well but you will understand that my documents are not written through the GUI...
Sorry for the late response. According to the spec of JSON, it's valid to encode Unicode chars with \uxxxx
. The difference between Medis 1 and 2 is that Medis 1 parses the \uxxxx code, while Medis 2 displays it as is. Comparing the two I prefer the behavior of Medis 2, which shows the original content of the database.
Let me know if that makes sense. Thanks for using Medis!
I find it interesting that the "raw" format of the document is really raw and therefore not parsed. Especially to detect a bug or understand what is really stored.
When we display a JSON version, we are in a consultation / edition process. And at this moment, to see the pretty small sun ☀️ is more practical than to see \u2600
.
Are you agree?
What about adding an "encoding" selector defaulting to "raw" so the user can decide the behavior? Just like "Viewer" and "Formatter" selectors.
@davidesigner @benjamindulau Yeah I think an option to toggle the behavior would be useful. Added to the roadmap.
Hi @luin, thanks for your comment.
Where could we find the progress of this issue? Do you have any idea of the expected release date?
Hey @davidesigner! Sorry for the slow progress! Will be released in the next version (within a month).
Here is a beta version and would be great if you have a chance to give it a try. There is a new option added in the preference settings.
Thanks for the beta version @luin, what is this option you've added?
For information, when I try to switch to any default Encoders, I have the following message:
It's on the Editor setting panel.
Awesome (I didn't find it because I was using the bad version sorry), that's working great! Thanks @luin