Change application: view codepage of data type 'line'

Previous topic - Next topic

demaya

Hello Folks,

our OnDemand archives linedata with codepage 1252/8859-1. The data is converted from UTF-8 to 1252/8859-1 and archived into OnDemand. The codepage in the application is set to 1252 and the datatype to line. Everything works fine.

Now they want to archive data with characters in 8859-2 and the chars don't look good when they are converted to 8859-1 and viewed with 1252 (which is in my opinion 8859-1).

Seems like I have to change the whole process: no converting and archiving pure UTF-8. My Problem is the viewing part.

How can I manage, that I don't need a new application and view both: 8859-1 and UTF-8 in one application? Or is that not possible?

Anyone has a good summary of codepages you can use for linedata in OnDemand?

The more I read about codepages the more I think it's one of the biggest mysteries in IT :)

Cheers and thanks!

demaya

Since nobody answered I started try n error. I created a new UTF-8 application and load the new data via this application. Old files are not changed and new ones are presented right.

I use codepage 1208 and Delimiter 0A.

Cheers

Alessandro Perucchi

Quote from: mayach on July 09, 2013, 02:34:38 PM
Since nobody answered I started try n error. I created a new UTF-8 application and load the new data via this application. Old files are not changed and new ones are presented right.

I use codepage 1208 and Delimiter 0A.

Cheers

Sorry I didn't see your question...

So you did correctly  because each application can only contain 1 code page.

And I suggest that you use the replacement of iso8859-1 (IBM code 819) which is iso8859-15 (IBM code 923) because the only differences between the 2 is that the latter has the euro symbol for example :-)

And one important thing... codepage 1252 is NOT iso8859-1 this the windows codepage called also win1252, and the IBM code for it is 5348.

I agree with you, thus codepage story is a nightmare, with developper that are clueless sometimes... with the users too... that's difficult...
The most important is to know the codepage of your file and how this code translate into IBM codepage for CMOD.

If I find the link, I'll post it later, this is a page containing all the code page possible with the relationship with IBM codepage.

Sincerely yours,
Alessandro
Alessandro Perucchi

#Install #Migrations #Conversion #Educate #Repair #Upgrade #Migrate #Enhance #Optimize #AIX #Linux #Multiplatforms #DB2 #Windows #Oracle #TSM #Tivoli #Performance #Audits #Customizing #Availability #HA #DR #JavaApi #ContentNavigator #ICN #WEBi #ODWEK #Services #PDF #AFP #XML

demaya

No problem, I solved it by myself :)

Whatever the name/content of the codepage is... it works for me now and I'm pretty happy ;)

Alessandro Perucchi

Quote from: mayach on July 11, 2013, 10:57:53 AM
No problem, I solved it by myself :)

Whatever the name/content of the codepage is... it works for me now and I'm pretty happy ;)

Hello Mayach,

I've read it that you solved by yourself, but my message was simply to make you aware that Codepage 1252 IS NOT ISO8859-1.
It is very near, but it's not the same.

If you use codepage 1252, then you should consider using the code page 5348, since that the updated version of it.

And if you were using iso8859-1 (which is in CMOD 819), then you should consider to switch to codepage iso8859-15 (923 in CMOD) since that's the updated version of the 8859-1 version.

Of course if you are using UTF-8 now, then perfect nothing to change :-D

And the link is:

IBM Code page: http://www-01.ibm.com/software/globalization/ccsid/ccsid_registered.html

Sincerely yours,
Alessandro
Alessandro Perucchi

#Install #Migrations #Conversion #Educate #Repair #Upgrade #Migrate #Enhance #Optimize #AIX #Linux #Multiplatforms #DB2 #Windows #Oracle #TSM #Tivoli #Performance #Audits #Customizing #Availability #HA #DR #JavaApi #ContentNavigator #ICN #WEBi #ODWEK #Services #PDF #AFP #XML