Hey list,
I installed Spectrum 9.3 and using the CORBA interface with JAVA.
At the moment I have to problem, that Spectrum OneClick doesn't show special
characters in the correct format. E.g. the character "ö" is displayed as "�". I
didn't had this problem with Spectrum 9.2.
My used code to write the text with the special character into the database:
CsCValue val = new CsCValue();
val.textString(status);
CsCAttrValue attrVal = new CsCAttrValue(CsCorbaAlarmHelper.ALARM_STATUS, val,
CsCError_e.SUCCESS);
CsCAttrValue[] attrValArray = new CsCAttrValue[1];
attrValArray[0] = attrVal;
CsCAttrValList writeValList = new CsCAttrValList(attrValArray,
CsCError_e.SUCCESS);
try {
ad.writeAttrValListOfAlarms(alarms, writeValList);
} catch (Throwable e) {
System.out.println(e);
}
Input is a text (variable status) in the String format.
Anybody here also uses the Spectrum CORBA interface and has a hint, how to
store the special characters (which are officiall supported with Spectrum 9.3)?
Thanks.
Regards
--
Christoph Keßler amasol AG
Claudius-Keller-Straße 3 B 81669 München
Phone:+49 (89) 1894743-24 Fax: +49 (89) 1894743-99
Email: [email protected] Web: www.amasol.de
amasol Aktiengesellschaft für Informations- und Kommunikationstechnologie
Aufsichtsrat: Prof. Dr. Stephan Kaiser (Vorsitzender)
Vorstand: Wolfgang Bachmann, Stefan Deml, Thomas Dirsch, Frank Jahn, Johann
Maurer
Amtsgericht München HRB 128327, Sitz der Gesellschaft München
---
To unsubscribe from spectrum, send email to [email protected] with the body:
unsubscribe spectrum [email protected]