Jump to content

Unicode characters in URL schemes


ChristianB
 Share

Recommended Posts

Hi! 
I have an issue with unicode characters in URL schemes. The word I tried is "oče". Even encoded it does not work.

accord://research/[All];Unicode?o%C4%8De

 

In a similar URL scheme for iA Writer the query works both with or without encoding. 

ia-writer://new?text=o%C4%8De
ia-writer://new?text=oče

 

What do I have to do to make that work with Accordance? Typing it manually in Accordance works. But no luck with the URL scheme. 

  • Like 1
Link to comment
Share on other sites

I agree that there's a bug here, but it seems to be specific to the č character for some reason, since other unicode URLs work fine, such as

 

accord://research/[All];Unicode?初

 

which works to find results in several of our texts:

image.png.a93aad8b41aaa430bff13249c2f0de17.png

 

 

I don't find "oče" in research even when I just type it in.  Was there a module you were expecting to find it in?

Edited by Silas Marrs
clarification
Link to comment
Share on other sites

Thanks for taking a look. I need the characters čšž for my Slovene user bibles. None of those characters work in the URL Scheme. 

  • Like 1
Link to comment
Share on other sites

  • 2 weeks later...

I've fixed this bug for the next release.  Not certain when that will be.

  • Like 3
Link to comment
Share on other sites

On 5/7/2021 at 5:20 AM, Silas Marrs said:

I've fixed this bug for the next release.  Not certain when that will be.

Awesome. Thanks!

Link to comment
Share on other sites

  • 2 months later...

It's still not working for me in 13.2 

Link to comment
Share on other sites

2 hours ago, ChristianB said:

It's still not working for me in 13.2 

Ok, my bad. It is working now. I forgot to set ";Unicode" in my URL scheme 

  • Like 1
Link to comment
Share on other sites

  • 2 months later...

I noticed that while it works with "research" it does not with "search". I am trying e.g. accord://search/SSP°?hiša#rom … all encoded of course. 

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...