On 28.09.2007, at 15:16, Oliver Egger wrote:
> hi markus
>
> change the encoding parameter in the Main.woo file to
> enoding = NSISOLatin1StringEncoding;
> or encoding = NSUTF8StringEncoding;
>
Is there a way to change this in some templates? I really do not want
to have to modify each component separately.
> if you do development on both pc and mac i would stronly
> suggest to use NSUTFF8StringEncoding, you then have to
> set also the eclipse editor that it uses utf8 encoding, but makes
> life much easier ...
>
I know. I cannot understand why all the major OSes still use their
"native" outdated encoding instead of UTF8
Have fun
---markus---
> cheers
> oliver
>
>
> On 9/28/07, Markus Ruggiero <marku..uggiero.ch> wrote:
>> More issues with WOlips on WinXP:
>> (WinXP, patched WO Frameworks, Eclipse 3.2.2 WOlips 2.0.0.4118),
>> The WO
>> Templates are still the originals from the Windows WO5.2 install
>> (HTML
>> 3.2!!)
>>
>> The simplest Hello World app with not customization whatever works
>> but
>> throws exceptions into the eclipse console view
>> I think I once saw something on some list but I cannot find it
>> anymore (or
>> my memory tricks me). Of course I know that MacOSRoman is not
>> supported on
>> Windows but where would I change this?
>>
>>
>> [2007-09-28 14:54:38 CEST] <WorkerThread0> The text encoding:
>> "NSMacOSRomanStringEncoding" for the
>> component:<com.webobjects.appserver._private.WOComponentDefinition
>> name=Main pathURL=file:/C:/workspace/FirstTest/Main.wo
>> url=/WebObjects/FirstTest.woa/Main.wo > could not be found
>> on this JavaVM platform.
>> [2007-09-28 14:54:38 CEST] <WorkerThread0>
>> <com.webobjects.appserver._private.WOComponentDefinition>
>> Unable to find Encoding Converter for 'NSMacOSRomanStringEncoding'
>> on this
>> Java platform. Will use default encoding.
>> com.webobjects.foundation.NSForwardException
>> [java.io.UnsupportedEncodingException]
>> NSMacOSRomanStringEncoding
>> [2007-09-28 14:54:38 CEST] <WorkerThread0>
>> com.webobjects.foundation.NSForwardException for
>> java.io.UnsupportedEncodingException:
>> NSMacOSRomanStringEncoding
>> at sun.io.Converters.getConverterClass(Unknown Source)
>> at sun.io.Converters.newConverter(Unknown Source)
>> at sun.io.ByteToCharConverter.getConverter(Unknown Source)
>> at java.lang.StringCoding.decode(Unknown Source)
>> at java.lang.String.<init>(Unknown Source)
>> at
>> com.webobjects.foundation._NSStringUtilities.stringForBytes
>> (_NSStringUtilities.java:95)
>> at
>> com.webobjects.foundation._NSStringUtilities.stringForBytes
>> (_NSStringUtilities.java:130)
>> at
>> com.webobjects.foundation._NSStringUtilities.stringFromInputStream
>> (_NSStringUtilities.java:614)
>> at
>> com.webobjects.foundation._NSStringUtilities.stringFromPathURL
>> (_NSStringUtilities.java:628)
>> at
>> com.webobjects.appserver._private.WOComponentDefinition.template
>> (WOComponentDefinition.java:258)
>> at
>> com.webobjects.appserver.WOComponent.templateWithName
>> (WOComponent.java:597)
>> at
>> com.webobjects.appserver.WOComponent.template(WOComponent.java:507)
>> at
>> com.webobjects.appserver.WOComponent.appendToResponse
>> (WOComponent.java:982)
>> at
>> com.webobjects.appserver.WOSession.appendToResponse(WOSession.java:
>> 1200)
>> at
>> com.webobjects.appserver.WOApplication.appendToResponse
>> (WOApplication.java:1418)
>> at
>> com.webobjects.appserver._private.WOComponentRequestHandler._dispatch
>> WithPreparedPage(WOComponentRequestHandler.java:230)
>> at
>> com.webobjects.appserver._private.WOComponentRequestHandler._dispatch
>> WithPreparedSession(WOComponentRequestHandler.java:287)
>> at
>> com.webobjects.appserver._private.WOComponentRequestHandler._dispatch
>> WithPreparedApplication(WOComponentRequestHandler.java:322)
>> at
>> com.webobjects.appserver._private.WOComponentRequestHandler._handleRe
>> quest(WOComponentRequestHandler.java:358)
>> at
>> com.webobjects.appserver._private.WOComponentRequestHandler.handleReq
>> uest(WOComponentRequestHandler.java:432)
>> at
>> com.webobjects.appserver.WOApplication.dispatchRequest
>> (WOApplication.java:1306)
>> at
>> com.webobjects.appserver._private.WOWorkerThread.runOnce
>> (WOWorkerThread.java:173)
>> at
>> com.webobjects.appserver._private.WOWorkerThread.run
>> (WOWorkerThread.java:254)
>> at java.lang.Thread.run(Unknown Source)
>>
>>
>>
>> Markus Ruggiero
>>
>> rucotec consulting and technologies email
>> mailto:markus.ruggier..ucotec.ch
>>
>> rucotec GmbH web http://
>> www.rucotec.ch
>>
>> Steinentorstrasse 8
>>
>> 4051 Basel Mobile +41 (0)79 508 4701
>>
>> Switzerland Phone/Fax +41 (0)61 271 4990
>>
>>
>
Markus Ruggiero
rucotec consulting and technologies email
mailto:markus.ruggier..ucotec.ch
rucotec GmbH web http://www.rucotec.ch
Steinentorstrasse 8
4051 Basel Mobile +41 (0)79 508 4701
Switzerland Phone/Fax +41 (0)61 271 4990
This archive was generated by hypermail 2.0.0 : Fri Sep 28 2007 - 10:10:20 EDT