infor.com
concierge
infor u
developer portal
documentation central
customer center
Posts
Categories
Groups
ERPs
CSD
FSM/HRT
LN
M3
Syteline/ CSI
Hubs
Developer
Healthcare
Hospitality
Public Sector
Onboarding
Release Center
CloudSuites
Aerospace & Defense (LN)
Automotive (LN)
Chemicals (M3)
Corporate (FSM/HRT)
Distribution (Sx.e/CSD)
Distribution Enterprise (M3)
Engineering & Construction (LN)
Fashion (M3)
Food & Beverage (M3)
Healthcare (FSM/HRT)
Industrial (Syteline/CSI)
Industrial Enterprise (LN)
Manufacturing (M3)
Public Sector (FSM/HRT)
Solutions
Supply Chain Management (SCM)
Human Capital Management (HCM)
Events
Groups
User Groups
Your Groups
About
Email Community Support
Infor News
Migrated Forums
Home
Clovertech
Clovertech Archive
Read Only Archives
Cloverleaf
Cloverleaf
5.7 upgrade issue
david_barr
We upgraded from 5.5 on HPUX to 5.7 on Linux, and we're seeing an issue with reading and writing files from TCL. On the old version, we could read and write binary data to and from files without issue. On the new version, binary data is corrupted when we try to do this. We have to first call fconfigure to set the translation to binary. I couldn't find anything in the 5.6 or 5.7 release notes about this. Has anyone else run into this problem?
I did a quick check on the default file channel settings between the two systems, and they both have translation set to "lf", but the old system uses "utf-8" encoding and the new system uses "iso8859-1" encoding.
Find more posts tagged with
Clovertech
Comments
jcobane1
David,
As you found, you need to update your tcl proc to specify that you want to treat the file as binary using the 'fconfigure' , i.e:
carters
Check to see if you have the following line:
set EuroBinary 1
in
$HCIROOT/tcl/lib/cloverleaf/init.tcl
If not, that is likely your problem. This was missing in a prior version (can't remember which one) in which we were experiencing the same type of problem. Due to the number of file reads that we do, it was not an option to add an fconfigure to all of them.
The other option to resolve this issue is to 'rename' the open command to null and rewrite it in the init.tcl file with the fconfigure option.
I posted some information on this quite some time ago. You might be able to search the forum for more information.
Hope this helps.
Thanks.
Steve