strcoll() function.



Hello.

strcoll() collates based on LC_COLLATE which is taken from the
environment. Is there a similar function that takes collation as an
argument instead of as an environment? The reason why I ask is what
if I need to use strcoll() in a server that works on behalf of clients
which might have different collation configurations? For instance, in
a database server? Is there any way around strcoll()'s limitation, or
is my thinking just completely wrong here?

Thanks.

.



Relevant Pages

  • Re: strcoll() function.
    ... Is there a similar function that takes collation as an argument instead of as an environment? ... The reason why I ask is what if I need to use strcoll() in a server that works on behalf of clients which might have different collation configurations? ... Depending on how your code is structures you may, of course, need to set the locale back to the default at some point with another call to setlocale. ...
    (comp.lang.c)
  • Re: strcoll() function.
    ... argument instead of as an environment? ... which might have different collation configurations? ... the locale back to the default at some point with another call to setlocale. ...
    (comp.lang.c)
  • Re: strcoll() function.
    ... argument instead of as an environment? ... which might have different collation configurations? ... the locale back to the default at some point with another call to setlocale. ...
    (comp.lang.c)
  • Re: Simple query on huge table uses Index Scan instead of Seek
    ... > I suspect there is something different in your environment. ... > collation of the unid column different than the instance or database ... to the one the database was using, ...
    (microsoft.public.sqlserver)
  • Re: Simple query on huge table uses Index Scan instead of Seek
    ... > I suspect there is something different in your environment. ... > collation of the unid column different than the instance or database ... to the one the database was using, ...
    (microsoft.public.sqlserver.programming)