|
|
|
[
Permlink
| « Hide
]
Markus Heimhuber - 29/Jul/05 08:57 AM
To be sure, that it's not a font problem, I added some static text with special characters and umlauts. This text is shown as expected.
Fixed in lps-dev (change 31474).
Markus, if you get the chance, it'd be great if you could download the latest build and see if this fixes your problem. Cheers, pablo Hi Pablo,
I'll do that as soon as possible (probably tomorrow, since I'm out of office today). Thanks for your fast work! Greetings, Markus Hi Pablo,
I downloaded the current nightly build and tried out my scenario. Unfortunately nothing changed compared to the previous version. To be sure, that I got the correct version, I will attach the output of the web application. Should I prepare a simple test scenario for you? Greetings, Markus ------------------------------------- > Server output [INFO] LPS - -LPS: LPS_HOME is J:\CVS-Hydra\int-0005\Source\Web\lps-nightly-05-08-08 [INFO] LPS - -LPS: LPS config directory is: J:\CVS-Hydra\int-0005\Source\Web\lps-nightly-05-08-08\WEB-INF\lps\config [INFO] LPS - -LPS: Detailed LPS log is at J:/CVS-Hydra/int-0005/Source/Web/lps-nightly-05-08-08/WEB-INF/lps/work/logs/lps.log [INFO] LPS - -LPS: LPS log configured with J:\CVS-Hydra\int-0005\Source\Web\lps-nightly-05-08-08\WEB-INF\lps\config\lps.xml [INFO] LPS - -LPS: ------------------------------------ [INFO] LPS - -LPS: Laszlo Presentation Server, 3.0.1d1, initialized [INFO] LPS - -LPS: Running in context:Jetty/5.1.4 [INFO] LPS - -LPS: Build: lps-dev-001447-0001 [INFO] LPS - -LPS: Built on: 01:54 AM 08-Aug-2005 [INFO] LPS - -LPS: Running against JRE 1.5.0_01 [INFO] LPS - -LPS: Running with Java CLASSPATH: J:\CVS-Hydra\int-0005\3rdParty\jetty-5.1.4\ext\ant.jar;J:\CVS-Hydra\int-0005\3rdParty\jetty-5.1.4\lib\javax.servlet.jar;J:\CVS-Hydra\int-0005\3rdParty\jetty-5.1.4\ext\commons-el.jar;J:\CVS-Hydra\int-0005\3rdParty\jetty-5.1.4\ext\commons-logging.jar;J:\CVS-Hydra\int-0005\3rdParty\jetty-5.1.4\ext\jasper-compiler.jar;J:\CVS-Hydra\int-0005\3rdParty\jetty-5.1.4\ext\jasper-runtime.jar;J:\CVS-Hydra\int-0005\3rdParty\jetty-5.1.4\ext\mx4j.jar;J:\CVS-Hydra\int-0005\3rdParty\jetty-5.1.4\ext\mx4j-remote.jar;J:\CVS-Hydra\int-0005\3rdParty\jetty-5.1.4\ext\mx4j-tools.jar;J:\CVS-Hydra\int-0005\3rdParty\jetty-5.1.4\ext\xercesImpl.jar;J:\CVS-Hydra\int-0005\3rdParty\jetty-5.1.4\ext\xml-apis.jar;J:\CVS-Hydra\int-0005\3rdParty\jetty-5.1.4\ext\xmlParserAPIs-2.5.jar;J:\CVS-Hydra\int-0005\3rdParty\jetty-5.1.4\lib\org.mortbay.jetty.jar;J:\CVS-Hydra\int-0005\3rdParty\jetty-5.1.4\lib\org.mortbay.jmx.jar;J:\CVS-Hydra\int-0005\3rdParty\hibernate-3.0\hibernate3.jar;J:\CVS-Hydra\int-0005\Source\Etc;C:\Programme\Java\jdk1.5.0_01\lib\tools.jar;J:\CVS-Hydra\int-0005\Output\Java\Library\Core [INFO] LPS - -LPS: Running on Windows XP 5.1 [INFO] LPS - -LPS: Running as user msheimhu [INFO] LPS - -LPS: Max memory: 508.06 MB [INFO] LPS - -LPS: Total memory: 4.86 MB [INFO] LPS - -LPS: Available memory: 1.88 MB Hi Markus,
If it's not too much trouble, can you try downloading the latest nightly build? I think build 1447 didn't pick up my changes. The latest one should hopefully have what you need. Let me know how it goes. pablo Hi Pablo,
thank you again. Now it works perfectly for returned strings. There is just one (minor) flaw: Exception messages are still garbled, which is not that important. Greetings, Markus I'll make sure I apply the same change to exceptions soon. Thank you, Markus!
Verified with test/rpc/soap/accented.lzx.
To fix the issue of the fault messages returning garbled do this:
In the start() method of the SOAPDataEncoder class add this line: dc.setEncoding( mSWFVersion > 5 ? "UTF-8" : "Cp1252" ); In the buildFromFault method (in the place where it sets the faultstring) in the same class (SOAPDataEncoder) remove program.push(faultstring) and add LZSOAPUtils.pushString(program, faultstring, dc)...like this: if (faultstring != null) { program.push("faultstring"); //program.push(faultstring); **** REMOVE **** LZSOAPUtils.pushString(program, faultstring, dc); **** ADD **** count++; } |
||||||||||||||||||||||||||||||||||||||||||||||||||||||