taskwarrior.vim icon indicating copy to clipboard operation
taskwarrior.vim copied to clipboard

Support for non-english letters

Open madskjeldgaard opened this issue 6 years ago • 7 comments

Hello! First of all thanks for the amazing work on this. It really is a great interface for TW and it is making my project management a lot smoother.

I am Danish and having trouble with using my native æøå in TaskWarrior.Vim. When using them here, they are all converted to à and some. In normal buffers æøå works fine and so does it if I just use TW normally on the command line, so I suspect it's a problem with this plugin.

I'm on NVIM 0.3.4 on Ubuntu Studio 19.04 if that's of any help.

Thanks a lot for your work on this.

Best regards Mads

madskjeldgaard avatar Oct 23 '19 08:10 madskjeldgaard

Hi, there seems to be some Unicode issue. What is the æøå in your post? I don't quite understand what your question is...

xarthurx avatar Oct 23 '19 08:10 xarthurx

Sorry, æøå are letters in the Danish alphabet and they are not supported in the current unicode of Taskwarrior.Vim. So that when for example I write a description for a task like "Må besøge øen, husk æg", then the unicode thing jumbles it into strange letters. See screenshot below for example (last task). twexample

madskjeldgaard avatar Oct 23 '19 09:10 madskjeldgaard

Ah, I see. Can you confirm this is not a neovim issue but the plugin issue? Then I can take a look at it.

xarthurx avatar Oct 23 '19 09:10 xarthurx

Not sure how to confirm it but if you have suggestions let me know. As a test I have written the same sentence as above in a seperate NVim buffer: twtest2

madskjeldgaard avatar Oct 23 '19 09:10 madskjeldgaard

OK, this might be a unicode issue. But I have no experience with that and it may take some time to fix it, if possible.

xarthurx avatar Oct 23 '19 09:10 xarthurx

I tried with Vim and the problem is the same. But with the old blindFS/vim-taskwarrior, this problem doesn't appear, neither with vim nor neovim. I guess that one of the fixes in this version broke up unicode.

jdn06 avatar Nov 09 '19 17:11 jdn06

Thanks for the feedback, and sorry for still not fixing it. Pretty busy this month... but this issue is on my list.

xarthurx avatar Nov 09 '19 17:11 xarthurx