Home Download Buy Blog Forum Support

Dev Build 2066

Re: Dev Build 2066

Postby askholme on Fri Jun 17, 2011 12:30 pm

I have a funny bug using spell check with a Danish dictionary.

I downloaded a Huspell format dictionary file and converted the file to UTF-8 format to ensure proper character support.
Everything works great excepts for words which starts or ends with non-ascii characters (danish have æ,ø and å).
That is words which have these characters in the middle works flawlessly, but when the special letter is in the front or the end it seems like it discarded before looking up in the dictionary.
So if i write the word "øvrige", the dictionary seems to think i wrote "vrige" and the suggests "øvrige". Clicking on the suggestion will cause one extra "ø" to be inserted so the text says "øøvrige"

Same things happens for example with the word "indgå", here the "å" is not probably recognised.
askholme
 
Posts: 2
Joined: Fri Jun 17, 2011 12:26 pm

Re: Dev Build 2066

Postby jps on Fri Jun 17, 2011 12:57 pm

n00ge: can you post a screenshot, and let me know what color scheme you're using?

askholme: could you email me the dictionary you're using (jps@sublimetext.com)?
jps
Site Admin
 
Posts: 3067
Joined: Wed Mar 19, 2008 12:33 pm

Re: Dev Build 2066

Postby bizoo on Fri Jun 17, 2011 1:54 pm

askholme wrote:I have a funny bug using spell check with a Danish dictionary.

I downloaded a Huspell format dictionary file and converted the file to UTF-8 format to ensure proper character support.
Everything works great excepts for words which starts or ends with non-ascii characters (danish have æ,ø and å).
That is words which have these characters in the middle works flawlessly, but when the special letter is in the front or the end it seems like it discarded before looking up in the dictionary.
So if i write the word "øvrige", the dictionary seems to think i wrote "vrige" and the suggests "øvrige". Clicking on the suggestion will cause one extra "ø" to be inserted so the text says "øøvrige"

Same things happens for example with the word "indgå", here the "å" is not probably recognised.

Same here with a french dictionary (http://www.dicollecte.org/download/fr/hunspell-fr-moderne-v4.1.zip) and try with the word 'éléphant'.
bizoo
 
Posts: 880
Joined: Wed Dec 08, 2010 6:53 am
Location: Switzerland

Re: Dev Build 2066

Postby guillermooo on Fri Jun 17, 2011 1:57 pm

I seem to remember this was an issue in ST1 too (Spanish), but I'm not too sure anymore...
guillermooo
 
Posts: 728
Joined: Thu Jul 23, 2009 9:06 am

Re: Dev Build 2066

Postby Kronuz on Fri Jun 17, 2011 2:58 pm

I'm loving every bit of the new build! it's great! "Close All Files" is a much welcomed addition :D ...as well as "disable_auto_insert" ;)
Kronuz
 
Posts: 98
Joined: Mon Feb 14, 2011 3:14 pm

Re: Dev Build 2066

Postby jps on Sat Jun 18, 2011 12:01 am

askholme, bizoo: thanks for the help, will be fixed in the next build.

guillermooo: S1 used Myspell, which intrinsically had unicode issues. S2 uses its successor Hunspell, but only supports UTF-8 encoded dictionaries (most aren't by default I believe).
jps
Site Admin
 
Posts: 3067
Joined: Wed Mar 19, 2008 12:33 pm

Re: Dev Build 2066

Postby askholme on Sat Jun 18, 2011 8:51 am

Jps: so you don't need the danish dictionary ?
askholme
 
Posts: 2
Joined: Fri Jun 17, 2011 12:26 pm

Re: Dev Build 2066

Postby jps on Sat Jun 18, 2011 9:08 am

askholme wrote:Jps: so you don't need the danish dictionary ?

Nope, got it sorted now - thanks.
jps
Site Admin
 
Posts: 3067
Joined: Wed Mar 19, 2008 12:33 pm

PreviousNext

Return to General Discussion

Who is online

Users browsing this forum: No registered users and 10 guests