Re: STRPCCMD
[email protected] Tue, 25 Jul 2006 10:23:39 +0200
| Newsgroups | gmane.comp.java.tn5250j.general |
|---|---|
| Message-ID | <[email protected]> |
The code you provide seems correct, but in the javac messages the characters seem unicode escapes. Anybody any suggestions? Richard Houston <[email protected]> Sent by: [email protected] 25/07/2006 09:58 Please respond to [email protected]; Please respond to [email protected] To [email protected], [email protected] cc Subject Re: [Tn5250j-general] STRPCCMD Hey Christian, I applied patch you provided and compiled the source but got the following errors: compile: [javac] Compiling 2 source files to /home/rich/temp/tn5250j/build [javac] /home/rich/temp/tn5250j/src/org/tn5250j/framework/tn5250/tnvt.java:2141: warning: unmappable character for encoding UTF8 [javac] if ("�PCO c�~�".equals(value.toString())) [javac] ^ [javac] /home/rich/temp/tn5250j/src/org/tn5250j/framework/tn5250/tnvt.java:2141: warning: unmappable character for encoding UTF8 [javac] if ("�PCO c�~�".equals(value.toString())) [javac] ^ [javac] /home/rich/temp/tn5250j/src/org/tn5250j/framework/tn5250/tnvt.java:2141: warning: unmappable character for encoding UTF8 [javac] if ("�PCO c�~�".equals(value.toString())) [javac] ^ [javac] 3 warnings The think the code in question is the following: + String pco = value.toString(); + log.debug("STRPCCMD = " + pco); + if ("ÜPCO cØ~Ø".equals(value.toString())) + strpccmd = true; Is this correct or did something get messed up when I downloaded the patch? Thanks in advance. Rich +------------------------------------+ Best regards, -Richard Houston -R.L.H. Consulting -E-Mail [email protected] -WWW http://www.rlhc.net -Blog http://www.rlhc.net/blog/ > > >> Richard Houston schrieb: >> >> >>> LOL, guess that is why not much change. Sorry about that. >>> >>> >>> >>> Can I use good old patch to do the patching or is there something >>> different for Java stuff? >> >> Should be the same (patch -p0 < xyz.diff) in the tn5250j dir. >> > > Thanks for that. > >> >> >> I've done a quick test and it didn't work for me ;-( >> Guess it's it needs some debugging ... >> > > I will test it tomorrow. If I have the issue still what diag info do we > need to help debug this? > > Thanks all. > > > Rich > > > > > > ------------------------------------------------------------------------ > - > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your opinions on IT & business topics through brief surveys -- and earn > cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE > V > _______________________________________________ > Tn5250j-general mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/tn5250j-general > > > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Tn5250j-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tn5250j-general ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Tn5250j-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tn5250j-general