Posts by Nichollas Fonseca • 79 points
5 posts
-
0
votes2
answers400
viewsA: Slow search ignoring accents
My problem was having to do the research while the text was typed. As it was a typed search, there are not many accented letters options. I used this answer (/a/2626/1385) as basis and I made my…
-
2
votes2
answers400
viewsQ: Slow search ignoring accents
I have a list of objects and I’m doing a title search. I use the Normalize to make the comparison by ignoring accents: public static boolean containsIgnoreCaseAndAccents(String haystack, String…
-
0
votes1
answer191
viewsQ: Enconding problem: JSTL fmt
I’m using fmt to internationalize the texts on a page. It turns out that when using accents, the text gets weird characters. I tried to change: <fmt:requestEncoding value="UTF-8" /> but there…
-
2
votes1
answer66
viewsA: strong_parameters in Rails using datetime
I found out that the datetime_selector html does not work for objects nested to the form. When I passed the date by text, everything worked correctly, doing the correct parse for datetime. If anyone…
-
3
votes1
answer66
viewsQ: strong_parameters in Rails using datetime
I’m using strong_parameters to create an object nested in a form. All my attributes work correctly, except those defined in datetime. There’s something special about getting datetime nestled?…