Support Article
Wrong filter results for special characters on using Ignore Case
SA-57410
Summary
When a report definition is run and when a filter value has special characters, the results do not render in accordance with the filter.
Error Messages
Not Applicable
Steps to Reproduce
- Use a repeat grid with report definition loading the list of results.
- Create records which have special characters (such as 'ç , ã ) in the words.
- Search for the record using the word as the parameter.
Root Cause
If the filter has special characters, when the Ignore Case checkbox is unchecked and the report is run, the required rows are fetched. However, when the Ignore Case checkbox is checked, the results do not display.
When the filter condition has normal text value, the search works correctly. For special characters, the Case Insensitive search function does not work correctly.
Resolution
According to the logic, when the Ignore Case checkbox (present with the filters in the report definition) is checked, it invokes the UPPER function.
However, for DB2, the UPPER command does not work for accented or special characters. The UPPER function displays the value helló as HELLó.
Hence, comparison does not occur.
Published August 24, 2018 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.