× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Thanks for your input.

Yes, perhaps I should just make my life easier by simply using whatever
locale is in place (or not in place). Otherwise it will at best be some
qualified guessing. The locale is only relevant to this application for the
regex functions. For decimal point, date formats and the like I'm relying on
QUSRJOBI.

Best regards,
Erik

2010/11/4 Scott Klement <c400-l@xxxxxxxxxxxxxxxx>

Erik,

Be careful with this. There isn't necessarily a 1-to-1 relationship
between CCSID and locale! For example, there are several different
locales (Brazil, Australia, USA) that all use CCSID 37, but have
different attributes for stuff such as date & time format.

Furthermore, people can create (or download/install) their own locales,
they are not restricted to those shipped with the system.

I hope your application will take all of that into account?



On 11/4/2010 10:20 AM, Erik Olsson wrote:
Does anybody of a place on the system where one can find a specific
locale
object for a particular CCSID or language? There is such a table printed
in
the Qshell manual but I'd rather not have to hardcode all that myself.

Eg:
CCSID Corresponding locale
500 /QSYS.LIB/NL_BE.LOCALE
1148 /QSYS.LIB/NL_BE_E.LOCALE
etc

Many thanks.

Best wishes,
Erik

--
This is the C programming iSeries / AS400 (C400-L) mailing list
To post a message email: C400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/c400-l
or email: C400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/c400-l.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.