TMSU icon indicating copy to clipboard operation
TMSU copied to clipboard

Latin letters like åäöøæ not supported in tags.

Open bjornmo opened this issue 6 years ago • 1 comments

This was easy to fix by myself by adding unicode.Latin to the RangeTable on line 25 in file query/scanner.go. The line now reads var symbolChars = []*unicode.RangeTable{unicode.Letter, unicode.Latin, unicode.Number, unicode.Punct, unicode.Symbol} . It would be nice being able to choose yourself which symbols are acceptable without having to change the code yourself. Other than that, thank you very much for this program. It is great.

bjornmo avatar Mar 11 '19 03:03 bjornmo

Many thanks for reporting this issue. I will include your change as soon as possible.

Paul

On Mon, 11 Mar 2019, 03:00 bjornmo, [email protected] wrote:

This was easy to fix by myself by adding unicode.Latin to the RangeTable on line 25 in file query/scanner.go. The line now reads var symbolChars = []*unicode.RangeTable{unicode.Letter, unicode.Latin, unicode.Number, unicode.Punct, unicode.Symbol} . It would be nice being able to choose yourself which symbols are acceptable without having to change the code yourself. Other than that, thank you very much for this program. It is great.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/oniony/TMSU/issues/166, or mute the thread https://github.com/notifications/unsubscribe-auth/AAAXBykz_qtO0V-Z9F-RL1IsOhXw3sitks5vVcbBgaJpZM4bntW_ .

oniony avatar Mar 12 '19 12:03 oniony