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



or the new kid on the block...php5

Where ENT_QUOTES supports the following character sets


      Charset Aliases Description
      ISO-8859-1 ISO8859-1 Western European, Latin-1
      ISO-8859-15 ISO8859-15 Western European, Latin-9. Adds the Euro sign,
French and Finnish letters missing in Latin-1(ISO-8859-1).
      UTF-8   ASCII compatible multi-byte 8-bit Unicode.
      cp866 ibm866, 866 DOS-specific Cyrillic charset. This charset is
supported in 4.3.2.
      cp1251 Windows-1251, win-1251, 1251 Windows-specific Cyrillic charset.
This charset is supported in 4.3.2.
      cp1252 Windows-1252, 1252 Windows specific charset for Western
European.
      KOI8-R koi8-ru, koi8r Russian. This charset is supported in 4.3.2.
      BIG5 950 Traditional Chinese, mainly used in Taiwan.
      GB2312 936 Simplified Chinese, national standard character set.
      BIG5-HKSCS   Big5 with Hong Kong extensions, Traditional Chinese.
      Shift_JIS SJIS, 932 Japanese
      EUC-JP EUCJP Japanese





----- Original Message ----- 
From: "Joe Pluta" <joepluta@xxxxxxxxxxxxxxxxx>
To: "'Web Enabling the AS400 / iSeries'" <web400@xxxxxxxxxxxx>
Sent: Thursday, December 02, 2004 10:12 PM
Subject: RE: [WEB400] Question on CGIDEV2


> > From: Brad Stone
> >
> > So, with what I want to do, with eRPGSDK I can do:
> >
> > #loadTemplate('anyfile.ext')
> > #replaceData('<':'&lt;')
> > #writeSection
> >
> > and I'm done.  What I'm doing is showing _why_ in the eRPG
> > SDK I chose to not use delimited tags for replacement
> > fields.
>
> Of course, if you were using Java instead of RPG, you'd include the
> wonderful Open Source htmlparser.jar and simply do this:
>
> out.write(Translate.encode(myOutput));
>
> This would convert ALL non-ISO-8859-1 characters in the String myOutput
> to their correct character entity references at one go (as opposed to
> the multiple calls to #replaceData that you have to do).  But hey, why
> use a power tool on a screw when you can bang it in with that big old
> RPG hammer?
>
> <g>
>
> Joe
>
> _______________________________________________
> This is the Web Enabling the AS400 / iSeries (WEB400) mailing list
> To post a message email: WEB400@xxxxxxxxxxxx
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/mailman/listinfo/web400
> or email: WEB400-request@xxxxxxxxxxxx
> Before posting, please take a moment to review the archives
> at http://archive.midrange.com/web400.
>
>



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.