Hi Sharon,
# STAF local MISC LIST PROPERTIES
Response
--------
version : 3.4.5
platform : linux
architecture: 32-bit
installer : IA
file : STAF345-setup-linux.bin
osname : Linux
osversion : *
osarch : x86
# STAF local VAR RESOLVE STRING {STAF/Config/CodePage}
Response
--------
UTF-8
Thank you sharon, I find the solution :
The perl script must print in UTF-8; I put binmode(STDOUT, ":utf8"); before
a print() statement, that make STDOUT output in UTF-8 instead of ordinary
ASCII.
Anas
2011/6/1 Sharon Lucas <luc...@us.ibm.com>
> What version of STAF is running on the machine where the Perl script is
> being run? And what operating system?
> What version of STAF and STAX is sunning on the machine where the STAX
> service is registered? And what operating system?
>
> Post the output from the following command, substituting the name of the
> machine where the Perl script is being run and then run again with the name
> of the STAX service machine and post the resutls.
>
> STAF machine MISC LIST PROPERTIES
>
> Also, what codepage is STAF using on the machine where the Perl script is
> being run?
> And what codepage is STAF using on the STAX service machine?
>
> Post the output from the following command to see what codepage STAF is
> using on a machine, substituting the name of the machine where the Perl
> script is being run and then run again with the name of the STAX service
> machine and post the resutls.
>
> STAF machine VAR RESOLVE STRING {STAF/Config/CodePage}
>
> If you are not running the latest versions of STAF (V3.4.5) and STAX
> (V3.4.5) on these machines, then upgrade to the latest versions and see if
> that resolves the problem or not.
>
> --------------------------------------------------------------
> Sharon Lucas
> IBM Austin, luc...@us.ibm.com
> (512) 286-7313 or Tieline 363-7313
>
>
>
>
> From: anas ameziane <anas.amezi...@gmail.com>
> To: staf-users@lists.sourceforge.net
> Date: 06/01/2011 09:58 AM
> Subject: [staf-users] printing french accented characters
> ------------------------------
>
>
>
> Hi all,
>
> When STAF run a PERL script with printing french accented characters, the
> JVM generates
> an exception:
>
> @20110516-16:06:39 Error: STAX Job ID 7. STAXJob$STAFQueueMonitor.run():
> Exception unmarshalling queued messages.
> Marshalled string: @SDT/*:1939:@SDT/{:761::13:map-class-map@SDT
> /{:733::24:STAF/Service/Queue/Entry@SDT/{:694::4:keys@SDT/[8:633:@SDT
> /{:91::12:display-name@SDT/$S:8:Priority:18:display-short-name@SDT
> /$S:1:P:3:key@SDT/$S:8:priority@SDT/{:60::12:display-name@SDT
> /$S:9:Date-Time:3:key@SDT/$S:9:timestamp@SDT/{:56::12:display-name@SDT
> /$S:7:Machine:3:key@SDT/$S:7:machine@SDT/{:101::12:display-name@SDT/$S:11:Handle
> Name:18:display-short-name@SDT/$S:4:Name:3:key@SDT/$S:10:handleName@SDT
> /{:88::12:display-name@SDT/$S:6:Handle:18:display-short-name@SDT
> /$S:2:H#:3:key@SDT/$S:6:handle@SDT/{:50::12:display-name@SDT
> /$S:4:User:3:key@SDT/$S:4:user@SDT/{:50::12:display-name@SDT
> /$S:4:Type:3:key@SDT/$S:4:type@SDT/{:56::12:display-name@SDT
> /$S:7:Message:3:key@SDT/$S:7:message:4:name@SDT
> /$S:24:STAF/Service/Queue/Entry@SDT/[1:1154:@SDT
> /%:1142::24:STAF/Service/Queue/Entry@SDT/$S:1:5@SDT
> /$S:17:20110516-16:06:39@SDT/$S:13:local://local@SDT
> /$S:12:STAF_Process@SDT/$S:1:1@SDT/$S:16:none://anonymous@SDT
> /$S:16:STAF/Process/End@SDT/$S:951:@SDT/{:940::12:endTimestamp@SDT
> /$S:17:20110516-16:06:39:8:fileList@SDT/[1:819:@SDT/{:808::4:data@SDT
> /$S:773:
> ...
> Batch de reprise des lots non valid*é*s
> ...
> :2:rc@SDT/$S:1:0:6:handle@SDT/$S:2:33:3:key@SDT/$S:1:2:2:rc@SDT/$S:1:0
> java.lang.String incompatible with java.util.List
> java.lang.ClassCastException: java.lang.String incompatible with
> java.util.List
> at
> com.ibm.staf.service.stax.STAXJob$STAFQueueMonitor.run(STAXJob.java:2931)@
>
> do you have any idea to fix the probleme.
>
> Thanks.
>
> Anas.
> ------------------------------------------------------------------------------
> Simplify data backup and recovery for your virtual environment with
> vRanger.
> Installation's a snap, and flexible recovery options mean your data is
> safe,
> secure and there when you need it. Data protection magic?
> Nope - It's vRanger. Get your free trial download today.
> http://p.sf.net/sfu/quest-sfdev2dev
> _______________________________________________
> staf-users mailing list
> staf-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/staf-users
>
>
>
> ------------------------------------------------------------------------------
> Simplify data backup and recovery for your virtual environment with
> vRanger.
> Installation's a snap, and flexible recovery options mean your data is
> safe,
> secure and there when you need it. Data protection magic?
> Nope - It's vRanger. Get your free trial download today.
> http://p.sf.net/sfu/quest-sfdev2dev
> _______________________________________________
> staf-users mailing list
> staf-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/staf-users
>
>
------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users