That sounds great to me Jed. I'm sure whole careers are made trying to 
resolve localization problems. I presume the problem already exists with 
the existing "sort" filter? Does it sort differently on different platforms 
and/or different encoding sets?

I suppose there could be yet another set of  lt/gt filters that indicate 
that the comparison is done with UTF (e.g. ltu,gtu). 

Thanks!
Mark

On Saturday, July 25, 2015 at 12:33:40 PM UTC-7, Jed Carty wrote:
>
> Mark,
>
> As long as you were ok with using the ordering defined by the encoding 
> (which, as Hans says may not be consistent across encodings) than case 
> sensitive tests are easy. Otherwise you have to define the ordering in the 
> code somehow. This isn't particularly hard, you would just make an array 
> that contains the ordering you wish to use. The problem comes in when you 
> have different alphabets and accent marks and the like.
>
> Hans,
>
> I think you are correct as far as making something that is flexible. I 
> think that I could add an input to the operator that allows you to specify 
> a field that contains the desired ordering for the sort so you could 
> include which ever symbols you wished. You could do something like this 
> with plain wikitext and existing operators, but it would take enough effort 
> that I think a filter operator is worth making.
>
>
> I will try add the option to give a list field and unless someone has a 
> good suggestion for a better solution I will leave it at that.
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/429e8f95-4fb0-4190-bfde-e5888aa1f532%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to