# Bug ? with stop words in French UTF-8 locale

**URL:** <https://www.ruby-forum.com/t/bug-with-stop-words-in-french-utf-8-locale/162987>\
**Category:** Ferret\
**Created:** [March 16, 2009, 1:09pm UTC](https://www.ruby-forum.com/t/bug-with-stop-words-in-french-utf-8-locale/162987 "2009-03-16T13:09:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![micheldogger](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/b5e925/32.png) [@micheldogger](https://www.ruby-forum.com/u/micheldogger)\
**Post date:** [March 16, 2009, 1:09pm UTC](https://www.ruby-forum.com/t/bug-with-stop-words-in-french-utf-8-locale/162987/1 "2009-03-16T13:09:16Z")

</div>

Strange thing.  
Minimal example :  
Indexing a three accented words text like “aprÃ¨l aprÃ¨s aprÃ¨t” and asking  
for one of the three words, then two cases appear :

- plain indexing : all three give a hit,
- indexing with FULL\_FRENCH\_STOP\_WORDS, only one (“aprÃ¨s”) gives a hit.

I made extensive checks : no clear pattern appears for what type of  
accented words work and what do not : f.i. “HÃ©lÃ¨ne” does not work,  
“JÃ©rÃ´me” works…

By the way, the list of French stop words appearing in stopwords.c is  
strange, as some of them do not exist in the French language (flexed  
participles…).
