× 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.




On 01/03/2005, at 4:44 AM, Eric Lee wrote:

I don't think I can use a particular LANGID because I need to be able to
write to the file with no conversion
taking place as I do not necessarily know what language the user is going
to be using. (It's a web app)

Then use UTF-8 at the client and store the data in Unicode at the host.

My problem is that I will need one application to write to different files
with different CCSIDs.

As opposed to a single file using 65535 where you won't know what language a given record is written in?


Using Unicode at the will make this easier.

When I try to use a CCSID other than 65535, some characters may not be
found
in the CCSID table and these seem to get written out as hex 3F  which
consequently
causes other problems.

x'3f' is the standard substitution character. That's what is supposed to happen when the two CCSIDs are not inter-operable. See the CRDA Reference for more information.


I did try changing the LANGID of the user profile but I think this was
overriden by the CCSID of the user
profile UNLESS it was 65535, in which case the QZDASOINIT job did seem to
get the CCSID for that
particular LANGID. eg. if LANGID was set to SVE then it would set the job
to 278 + Swedish.

More correctly it will use the Job default CCSID which is set from the language ID of the job (which is set from the user profile). See the help text for Coded Character Set Identifier and Job default CCSID on the DSPJOB panels.


I think you need to spend some time reading the Globalisation section of the Information Centre and design your application to cope in a multi-lingual world rather than look for work-arounds (which is what it seems to me you are attempting).

Regards,
Simon Coulter.
--------------------------------------------------------------------
   FlyByNight Software         AS/400 Technical Specialists

   http://www.flybynight.com.au/
   Phone: +61 3 9419 0175   Mobile: +61 0411 091 400        /"\
   Fax:   +61 3 9419 0175                                   \ /
                                                             X
                 ASCII Ribbon campaign against HTML E-Mail  / \
--------------------------------------------------------------------



As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.