-
Notifications
You must be signed in to change notification settings - Fork 6
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
Unable add accented words #46
Comments
If you have any tips on how to solve it, I could open a PR to fix it. |
hi @Chavao thank you so much for the input. |
Support for wide characters if full of pitfalls it turns out. I also simplified the build process and would like to verify that on different platforms. please check out https://github.com/gtaubman/doneyet/tree/wide_char_support this is what it looks like for me on some input: let me know if it works for you too and please give me some details about your platform (OS, Version) This test: Macbook Air M2, macOS 13.5.2 (22G91) |
Also works on Xubuntu (Ubuntu with XFCE) 22.04.02 LTS |
hmm seems I had ncursesw already installed on those machines, testing on a plain machine right now Kubuntu (Ubuntu with KDE) 22.04.03 LTS needed to install these works as well |
awesome, then I know it works for you and me :-) I am working on cleaning the code right now, something I have been pushing off for years. This should simplify the task of adding, tracking and debugging the changes. I will focus in the serialization first, as I fear that this is where all of the extension will break.
currently tasks are stored by writing chars which are 8 bit -> 1 byte |
Wow, great start Steffen!!
…On Fri, Sep 29, 2023 at 9:23 AM Steffen Weise ***@***.***> wrote:
awesome, then I know it works for you and me :-)
I am working on cleaning the code right now, something I have been pushing
off for years. This should simplify the task of adding, tracking and
debugging the changes.
I will focus in the serialization first, as I fear that this is where all
of the extension will break.
for reference see
void Task::Serialize(Serializer* s) and
void Serializer::WriteString(string str)
currently tasks are stored by writing chars which are 8 bit -> 1 byte
but our new characters are wchar_t, which is 16 bit or 64 bit > 2 or 4
byte depending on the compiler used
—
Reply to this email directly, view it on GitHub
<#46 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABN4QMOGRKKWYCIEHBEA5WLX43DTHANCNFSM6AAAAAA472O2FQ>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Wanna give a little heads-up. I am still working on this. |
I am happy to report that I was able to build a version that works with UTF-8. Please see attached screenshot. The development branch is located at https://github.com/gtaubman/doneyet/tree/without_wide_char Still todo:
![]() |
Wow fantastic work!! No, I never tested or even attempted windows
support. Mac and linux were the only OSes I tried.
…On Wed, Feb 7, 2024 at 2:39 PM Steffen Weise ***@***.***> wrote:
I am happy to report that I was able to build a version that works with
UTF-8. Please see attached screenshot.
The development branch is located at
https://github.com/gtaubman/doneyet/tree/without_wide_char
|
Describe the bug
I tried to add words with accents, I'm Brazilian so we have a lot of words with accents.
When I press the acute accent and the following letter, the letter disappears.
E.g.
I wrote
fiancé
To Reproduce
Steps to reproduce the behavior:
a
to add a new TaskExpected behavior
Appear the accented word, like
fiancé
Software configuration (please complete the following information):
The text was updated successfully, but these errors were encountered: