|
Henrik,
You don't seem to understand what Barbara showed you. How could stream
files and database tables "support ≥ 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,by
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 ≥ (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 ≥ conversion; and
wrote: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>
On 2012/9/5 2:07 AM, Henrik Rützou wrote:
IBMI dosn't support UTF-8 encoding in HTML encoding like≥I think it does:
Here is my RPG program:
D val s 10c
/free
xml-into val %xml('<val>≥</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 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.