Page 1 of 1

French guillemot left/right

Posted: Mon Aug 29, 2005 2:02 pm
by gazim
Is there a way to force french guillemot left/right (Ascii 171 and 181) characters as the phrase binders instead of double quotes? I was wondering if there's a way to change the default phrase binding characters. For example, can «Bill Cinton» be treated as a phrase search? (ie. "Bill Clinton")
Thanks in advance.

French guillemot left/right

Posted: Mon Aug 29, 2005 3:04 pm
by mark
<$query='«Bill Cinton»'>
...
<sandr '[\xab\xbb]' '"' $query>
<$query=$ret>
...
<sql ...

French guillemot left/right

Posted: Mon Aug 29, 2005 11:49 pm
by gazim
It would be nice if there was a way to customize phrase binding characters through apicp. The solution that you suggested gets the job done nonetheless. Thanks again.