cancel
Showing results for 
Search instead for 
Did you mean: 

Spanish accents in atributes

vta
Champ in-the-making
Champ in-the-making
Hello.

We're having troubles searching with Repository Web Service (using RepositoryServiceSoapBindingStub).

We use Alfresco Enterprise 2.20 and Lucene as query languaje.

Than is our problem: We have a document with two words writed with accents.
The first one "ratón" is inside the content.
The second one "esdrújula" is in the attribute title.

If I make a search of the word "raton" without accent, Alfresco can find the
content (in spite of the word isnt correctly writed).

But searching "esdrujula" without correct using of spanish accents returns zero
result.

What can I do to support spanish accents in our attributes?

Thanks in advance.
1 REPLY 1

zomurn
Champ in-the-making
Champ in-the-making
Hola,

Try to encode your query with this :  ISO9075.encode(yourDynamicWordWithAccent).

Entiendies ?
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.