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



Yes, I perfectly understand Barbara, Michael's problem is that everything
over ACSII
X'7F' are HTML decimal encoded:

If michael has an original string like this in Lotus Notes

IBM I® – 375,00 € – Patagonia

his Lotus Notes generates ....

IBM I& #174; & #8211; 375,00 & #8364; & #8211; Patagonia



On Wed, Sep 5, 2012 at 8:19 PM, Joep Beckeringh
<joep.beckeringh@xxxxxxxxxx>wrote:

Henrik,

You don't seem to understand what Barbara showed you. How could stream
files and database tables "support &#8805 conversion"? However, stream
files and database tables can store Unicode characters, e.g. by using
CCSID 13488.

What Barbara showed you is that XML-INTO can convert an HTML entity into
the corresponding Unicode character, which can be stored in a Unicode
column. No impact on the length of the statement whatsoever.

And why do you think UCS-2 will have to be converted to SBCS? Why do you
think Unicode was developed?

Joep Beckeringh


Op 05-09-12 19:35, Henrik Rützou schreef:
Barbara,

and on one point you will probably have to convert the USC-2 to SBCS and
then
you have the problem again.

In practise you don't want to loose e.g. a EURO sign if EBCDIC dosn't
support it
so

The price is 100,00 €

to The price is 100,00

you want

The price is 100,00 EUR

or if you meet &#8805 (greater than or equal) you want two
EBCDIC char

=
On Wed, Sep 5, 2012 at 7:29 PM, Henrik Rützou <hr@xxxxxxxxxxxx> wrote:

Ha ha Barbara,

I meant IBM i IFS files and/or DB dosn't support &#8805 conversion; and
by
the way
if all millions of possible Unicode characters greater than ascII x'F0'
are HTML encoded
your statement will be very very long ;-)


On Wed, Sep 5, 2012 at 7:22 PM, Barbara Morris <bmorris@xxxxxxxxxx>
wrote:

On 2012/9/5 2:07 AM, Henrik Rützou wrote:
IBMI dosn't support UTF-8 encoding in HTML encoding like&#8805;

I think it does:

Here is my RPG program:

D val s 10c
/free
xml-into val %xml('<val>&#8805;</val>' : 'ccsid=ucs2');
*inlr = '1';

Here is my debug session:

EVAL val:x
00000 22650020 00200020 00200020 00200020

U'2265' is the Unicode greater-than-or-equal character.
--
This is the RPG programming on the IBM i / System i (RPG400-L) mailing
list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.



--
Regards,
Henrik Rützou

http://powerEXT.com <http://powerext.com/>





--
This is the RPG programming on the IBM i / System i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-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.