Did this article resolve your question/issue?



Proutil charscan with list option doesn't work for UTF-8 database


TitleProutil charscan with list option doesn't work for UTF-8 database
URL NameProutil-charscan-with-list-option-doesn-t-work-for-UTF-8-database
Article Number000137430
EnvironmentProduct: OpenEdge
Version: 11.x, 12.x
OS: All supported platforms
Question/Problem Description
Proutil charscan with list option doesn't work for UTF-8 database

When using proutil convchar charscan with a UTF-8 database, the charscan list option doesn't work. The scan only finds the first character in the list.  The other characters are ignored. 
For example with a database that contains a single record with a Euro character and another record with a Pound Sterling character.  The scan for Hex values '0xe282ac' (€) and '0xc2a3' (£), should find both records, but only the first specified character is found - in this case the record with the Euro character:

User-added image

Swapping the specified values finds only the record with the Pound Sterling character:

User-added image

The charscan range option also finds only the first character in the specified range.
Steps to Reproduce
Clarifying Information
The charscan list option works as expected with single byte code page databases.  
Error Message
Defect/Enhancement NumberDefect OCTA-13107
The exact cause is not known at this time.
None at this time.
Search for the characters individually rather than in a list or a range.  
References to Other Documentation:
OpenEdge Data Management: Database Administration, Chapter 24: "PROUTIL Utility, PROUTIL CONVCHAR qualifier"
Last Modified Date4/4/2019 11:18 AM
Disclaimer The origins of the information on this site may be internal or external to Progress Software Corporation (“Progress”). Progress Software Corporation makes all reasonable efforts to verify this information. However, the information provided is for your information only. Progress Software Corporation makes no explicit or implied claims to the validity of this information.

Any sample code provided on this site is not supported under any Progress support program or service. The sample code is provided on an "AS IS" basis. Progress makes no warranties, express or implied, and disclaims all implied warranties including, without limitation, the implied warranties of merchantability or of fitness for a particular purpose. The entire risk arising out of the use or performance of the sample code is borne by the user. In no event shall Progress, its employees, or anyone else involved in the creation, production, or delivery of the code be liable for any damages whatsoever (including, without limitation, damages for loss of business profits, business interruption, loss of business information, or other pecuniary loss) arising out of the use of or inability to use the sample code, even if Progress has been advised of the possibility of such damages.