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



I'm trying to edit an xml document on the ifs using RDP (8.5) but it seems
to have some trouble converting to/from UTF-8.

I have created the file on the IFS with CCSID 1208.
Then i edit the file in RDP and put some text in it with latin-1
characters, such as ä.
Then i save the file but RDP converts to 1252 instead of 1208.

When i put a latin-2 character in the text such as ř and then save to text
RDP complains and asks to convert it to UTF-8 (which i want it to do).

How can i set RDP to always save in UTF-8 format.
Or even better, to respect to CCSID attribute of the IFS file.

Also, when i open the file again it's not converted back properly.

In the general settings i have set the default CCSID to 1208 for XML files
(*.xml).
But this does not have any effect it seems.

RDP also behaves rather quirky with this.
When i explicitly choose to save to UTF-8 (when asked for it) it converts
incorrectly to the existing file (CCSID 1208).
When i create a new file with CCSID 1208 and save the same text then it
does convert to UTF-8.

RDP (or RDi) seems to be completely broken on this.


So what is the best way to edit UTF-8 documents on the IFS.
Apparantly to never use RDi because your documents will be scrambled before
you know it.

And while testing, every time i clear the cache because localy the
documents are saved correctly.

I'm not a fan of RDi (it's slightly better than SEU with all it's quirks)
but it's really annoying i can't even edit XML documents on the IFS with
it, without checking every time whether the damn thing corrupted the file
or not.

Does anybody else have the same kind of troubles with editing UTF-8
documents on the IFS with RDP (or RDi ...)?

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.