Skip to content
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

UTF8 vs byte mismatch in "insert-text" message #52

Open
stacksmith opened this issue Jan 10, 2017 · 1 comment
Open

UTF8 vs byte mismatch in "insert-text" message #52

stacksmith opened this issue Jan 10, 2017 · 1 comment

Comments

@stacksmith
Copy link

stacksmith commented Jan 10, 2017

In gtk-text-buffer.
I am not sure what to do with this one, but it wasted a lot of my time.
The Lisp handler is invoked after CFFI converts the string to Lisp. But the len parameter is a byte count, the meaning of which is now lost, since we don't have bytes anymore. I think a character count would be more correct...

@Ferada
Copy link

Ferada commented Feb 4, 2017

Agreed this is an edge case. Perhaps the string conversion shouldn't actually be done automatically in case the user doesn't want that to happen?

Btw. are you on freenode? I'm wondering if work on this library can be a bit more organised, so feel free to come chat (I'm using ferada on there), I don't want to misappropriate the issue tracker here too much.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants