Re: Character Encoding of textfield
Good morning Christoph, I use er.extensions.ERXApplication.DefaultEncoding=UTF-8 er.extensions.ERXApplication.DefaultMessageEncoding=UTF-8 in the Properties file and all is fine now. For file upload I use the AjaxFileUpload. That looks nicer. Grüße nach Bonn Jens Am 14.05.2014 um 01:16 schrieb CHRISTOPH WICK | i4innovation GmbH, Bonn : > Hi Jens, > > does your wo-form set 'enctype="multipart/form-data"' ? (AFAIK it is > necessary, if you are using WOFileUpload) > > If so, try to use the following in your Application's constructor: > > public class Application extends ERXApplication { > ... > public Application() { > ... > WOMessage.setDefaultEncoding("UTF-8"); > WOMessage.setDefaultURLEncoding("UTF-8"); > ERXMessageEncoding.setDefaultEncoding("UTF8"); > ERXMessageEncoding.setDefaultEncodingForAllLanguages("UTF8"); > ... > } > ... > } > > I also had the problem with umlauts and this helped me. > > C.U.CW > -- > What are the three enemies of a programmer? Sunlight, oxygen, and the > appalling roar of the birds. > > On 13.05.2014, at 17:49, Dipl.-Ing. Jens Lünstedt > wrote: > >> Hello, >> I have a strange problem. Today I noticed in one of my apps that all german >> characters like öäü are changed. So when I get the event that the text of >> that field is changed the text is already changed to something not readable. >> The last time some days ago I tested that in the app all was ok. I checked >> the properties of the project in Eclipse and all encoding is on UTF-8. I >> didn't changed the properties file of the project. I run another application >> and all is fine. I moved the project to another machine and it was the same. >> I used another fresh database but it doesn't help. I tested another browser, >> I cleaned the project and I rebooted the machine. Nothing helped. >> >> So I'm sure it has something to do with my project but where? In the project >> preferences I use UTF-8 encoding. I think it must be on the way from the >> browser to the event in my app, perhaps in the WO framework. >> >> Has anyone an idea? >> >> Thanks >> >> Jens >> ___ >> Do not post admin requests to the list. They will be ignored. >> Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) >> Help/Unsubscribe/Update your Subscription: >> https://lists.apple.com/mailman/options/webobjects-dev/cw%40i4innovation.de >> >> This email sent to c...@i4innovation.de > signature.asc Description: Message signed with OpenPGP using GPGMail ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Any plans to build libapache2-mod-wo for Ubuntu 14.04 LTS
Hi all (and Bastian Triller) I have tried using the instructions at http://wiki.wocommunity.org/display/documentation/Installing+a+deployment+environment+on+Debian+or+Ubuntu for installing WebObjects on Ubuntu 14.04 LTS but the built libapache2-mod-wo doesn't work and has to be rebuilt manually. I built it myself for Ubuntu 13.10, but now that 14.04 with long term support is out we should probably add a built version into the repository. http://packages.wocommunity.org/ubuntu/ If Bastian could provide a procedure how he did it last time, I would be happy to do this. Regards Tim signature.asc Description: Message signed with OpenPGP using GPGMail ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Character Encoding of textfield
Hi Jens, does your wo-form set 'enctype="multipart/form-data"' ? (AFAIK it is necessary, if you are using WOFileUpload) If so, try to use the following in your Application's constructor: public class Application extends ERXApplication { ... public Application() { ... WOMessage.setDefaultEncoding("UTF-8"); WOMessage.setDefaultURLEncoding("UTF-8"); ERXMessageEncoding.setDefaultEncoding("UTF8"); ERXMessageEncoding.setDefaultEncodingForAllLanguages("UTF8"); ... } ... } I also had the problem with umlauts and this helped me. C.U.CW -- What are the three enemies of a programmer? Sunlight, oxygen, and the appalling roar of the birds. On 13.05.2014, at 17:49, Dipl.-Ing. Jens Lünstedt wrote: > Hello, > I have a strange problem. Today I noticed in one of my apps that all german > characters like öäü are changed. So when I get the event that the text of > that field is changed the text is already changed to something not readable. > The last time some days ago I tested that in the app all was ok. I checked > the properties of the project in Eclipse and all encoding is on UTF-8. I > didn't changed the properties file of the project. I run another application > and all is fine. I moved the project to another machine and it was the same. > I used another fresh database but it doesn't help. I tested another browser, > I cleaned the project and I rebooted the machine. Nothing helped. > > So I'm sure it has something to do with my project but where? In the project > preferences I use UTF-8 encoding. I think it must be on the way from the > browser to the event in my app, perhaps in the WO framework. > > Has anyone an idea? > > Thanks > > Jens > ___ > Do not post admin requests to the list. They will be ignored. > Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) > Help/Unsubscribe/Update your Subscription: > https://lists.apple.com/mailman/options/webobjects-dev/cw%40i4innovation.de > > This email sent to c...@i4innovation.de signature.asc Description: Message signed with OpenPGP using GPGMail ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: On ERPartials
Hi Paul, Thank you for your help. I did suspect that partial entities would only work with a single table, but that was just a guess since the html document and the example implement the partials in a single table. I think I understood the concept, but tried to make it work in a way it wasn't supposed to. The example is very well built and shows very well how to use partials. BTW, does it make sense to have Partials from different tables as I tried? For cases like the model I am trying to design it would make sense, where an entity can be one or other depending on the context, but their contents are so different that a single table solution would have too many null values. Partials joining two tables would solve my problem. I am indeed working with a toy application, in an effort to deepen my understand of Wonder. I am testing several architectural, modeling and implementation options before I start my full application development. That's where ERPartials enter, in an attempt to solve the model I explained. Thanx, Ângelo 2014-05-13 19:24 GMT-03:00 Paul Hoadley : > Hi Angelo, > > On 14/05/2014, at 4:08 AM, Ângelo Andrade Cirino > wrote: > > > I am trying to model a ContactMechanism entity with three specialized > entities representing Phone, Email and PostalAddress. I followed the > ERPartial documentation and example and thought that I would be able to > model composition instead of inheritance using ERPartials. Since the three > specialized entities are very different from each other, each one has its > own table. > > This is going to be a show-stopper. Partial entities work with a single > table. > > > It seems that I didn't grasp how to use partials. Any suggestions or > should I rely on inheritance instead? > > Personally I'm not a big fan of inheritance (in EOModels), especially > across models, which is the use case that partial entities was originally > developed to help with. (The classic example, as described in the > package-level Javadocs, being a "Person" entity in a reusable framework, > and application level specialisations of that entity for the project at > hand.) I don't know whether partial entities will be a good fit for the > case you describe above, but I can assure you that they do work. I would > suggest that firstly you go over the example in Examples/ERXPartials (again > if you've already done so!), and secondly create you own toy application > using partial entities to see how it all works. Well worth the time > investment, even if you don't end up using them. > > > -- > Paul Hoadley > http://logicsquad.net/ > > > > 2014-05-13 19:24 GMT-03:00 Paul Hoadley : > Hi Angelo, > > On 14/05/2014, at 4:08 AM, Ângelo Andrade Cirino > wrote: > > > I am trying to model a ContactMechanism entity with three specialized > entities representing Phone, Email and PostalAddress. I followed the > ERPartial documentation and example and thought that I would be able to > model composition instead of inheritance using ERPartials. Since the three > specialized entities are very different from each other, each one has its > own table. > > This is going to be a show-stopper. Partial entities work with a single > table. > > > It seems that I didn't grasp how to use partials. Any suggestions or > should I rely on inheritance instead? > > Personally I'm not a big fan of inheritance (in EOModels), especially > across models, which is the use case that partial entities was originally > developed to help with. (The classic example, as described in the > package-level Javadocs, being a "Person" entity in a reusable framework, > and application level specialisations of that entity for the project at > hand.) I don't know whether partial entities will be a good fit for the > case you describe above, but I can assure you that they do work. I would > suggest that firstly you go over the example in Examples/ERXPartials (again > if you've already done so!), and secondly create you own toy application > using partial entities to see how it all works. Well worth the time > investment, even if you don't end up using them. > > > -- > Paul Hoadley > http://logicsquad.net/ > > > > ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: On ERPartials
Hi Angelo, On 14/05/2014, at 4:08 AM, Ângelo Andrade Cirino wrote: > I am trying to model a ContactMechanism entity with three specialized > entities representing Phone, Email and PostalAddress. I followed the > ERPartial documentation and example and thought that I would be able to model > composition instead of inheritance using ERPartials. Since the three > specialized entities are very different from each other, each one has its own > table. This is going to be a show-stopper. Partial entities work with a single table. > It seems that I didn't grasp how to use partials. Any suggestions or should I > rely on inheritance instead? Personally I'm not a big fan of inheritance (in EOModels), especially across models, which is the use case that partial entities was originally developed to help with. (The classic example, as described in the package-level Javadocs, being a "Person" entity in a reusable framework, and application level specialisations of that entity for the project at hand.) I don't know whether partial entities will be a good fit for the case you describe above, but I can assure you that they do work. I would suggest that firstly you go over the example in Examples/ERXPartials (again if you've already done so!), and secondly create you own toy application using partial entities to see how it all works. Well worth the time investment, even if you don't end up using them. -- Paul Hoadley http://logicsquad.net/ ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: calendar component?
Yeah, create a page configuration named ListCalendar* or set your subtask to calendar on a list page with a rule. You'll get your framework's flavor of calendar list page. The date key is the first item listed in your sortOrderings array, which is a little confusing. R2D2W does calendars with date ranges as well as simple timestamps. I never used it for anything, but I built it out of interest. It only has a month view. I never got around to building the day/week/year views, but there is support there for switching them. Even the calendar cells in month view could be switched, so you could include something like a pie chart or bar graph in each cell to indicate, say, what proportion of your calendar events that day have a certain type or status. That was the intention anyway. I never got around to building those either. On May 13, 2014, at 2:01 PM, David Holt wrote: > This one kind of works: > > ERMODCalendarPage > > > On 2014-05-13, at 1:58 PM, Theodore Petrosky wrote: > >> Is there a 'calendar' component that I can add to my D2W app? I see an >> example of creating a calendar in the AjaxExample2 but nothing in the D2W >> components. >> >> I need to display a calendar (like the ajax example) and put events into the >> calendar. It would be very nice if I could find an example. >> >> Ted >> ___ >> Do not post admin requests to the list. They will be ignored. >> Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) >> Help/Unsubscribe/Update your Subscription: >> https://lists.apple.com/mailman/options/webobjects-dev/programmingosx%40mac.com >> >> This email sent to programming...@mac.com > > ___ > Do not post admin requests to the list. They will be ignored. > Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) > Help/Unsubscribe/Update your Subscription: > https://lists.apple.com/mailman/options/webobjects-dev/rgurley%40smarthealth.com > > This email sent to rgur...@smarthealth.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: calendar component?
This one kind of works: ERMODCalendarPage On 2014-05-13, at 1:58 PM, Theodore Petrosky wrote: > Is there a 'calendar' component that I can add to my D2W app? I see an > example of creating a calendar in the AjaxExample2 but nothing in the D2W > components. > > I need to display a calendar (like the ajax example) and put events into the > calendar. It would be very nice if I could find an example. > > Ted > ___ > Do not post admin requests to the list. They will be ignored. > Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) > Help/Unsubscribe/Update your Subscription: > https://lists.apple.com/mailman/options/webobjects-dev/programmingosx%40mac.com > > This email sent to programming...@mac.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
calendar component?
Is there a 'calendar' component that I can add to my D2W app? I see an example of creating a calendar in the AjaxExample2 but nothing in the D2W components. I need to display a calendar (like the ajax example) and put events into the calendar. It would be very nice if I could find an example. Ted ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
On ERPartials
Hi, I am trying to model a ContactMechanism entity with three specialized entities representing Phone, Email and PostalAddress. I followed the ERPartial documentation and example and thought that I would be able to model composition instead of inheritance using ERPartials. Since the three specialized entities are very different from each other, each one has its own table. I created the ContactMechanism and Phone entities, Phone being a partial entity of ContactMechanism. I then added a one to many relationship from Phone to Party, so that a Party has many Phones. The generated SQL doesn't create a join or consider the two tables, ContactMechanism and Phone, and gives an obvious exception with the following generated SQL: EvaluateExpression failed: : Next exception:SQL State:42S22 -- error code: 1054 -- msg: Unknown column 't0.areaCode' in 'field list' This SQL is generated for the phones relationship from Party. It seems that I didn't grasp how to use partials. Any suggestions or should I rely on inheritance instead? Angelo ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Character Encoding of textfield
er.extensions.ERXApplication.DefaultEncoding=UTF-8 also look in ERXApplication.setDefaultEncoding, if you want to know where/what switches can screw things up http://wiki.wocommunity.org/display/documentation/UTF-8+Encoding+Tips On 13 May 2014 17:49, Dipl.-Ing. Jens Lünstedt < jens.luenst...@ritz-schmidt.de> wrote: > Hello, > I have a strange problem. Today I noticed in one of my apps that all > german characters like öäü are changed. So when I get the event that the > text of that field is changed the text is already changed to something not > readable. The last time some days ago I tested that in the app all was ok. > I checked the properties of the project in Eclipse and all encoding is on > UTF-8. I didn't changed the properties file of the project. I run another > application and all is fine. I moved the project to another machine and it > was the same. I used another fresh database but it doesn't help. I tested > another browser, I cleaned the project and I rebooted the machine. Nothing > helped. > > So I'm sure it has something to do with my project but where? In the > project preferences I use UTF-8 encoding. I think it must be on the way > from the browser to the event in my app, perhaps in the WO framework. > > Has anyone an idea? > > Thanks > > Jens > > ___ > Do not post admin requests to the list. They will be ignored. > Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) > Help/Unsubscribe/Update your Subscription: > > https://lists.apple.com/mailman/options/webobjects-dev/bastian.triller%40gmail.com > > This email sent to bastian.tril...@gmail.com > ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Character Encoding of textfield
On May 13, 2014, at 9:49 AM, Jens Lünstedt wrote: > the text is changed before it is send to the database. The changed characters > are stored into the database and after the refresh of the table grid the > changed character is shown. > > For example I have a textfield with an observer. > - I enter an ö. > - In the setText event I get the string ö. So you get double byte chars and it might be that it's not rendered properly. > - This has nothing to do with the database because in my example I have no > data exchange with the database. It is only between the gui and the app. > Ah, lovely. PITA thing to track down. :-) I have not found the definitive answer to the UTF-8 encodings. Here are some more hints to check: In the Application() class, this probably didn't change for you, but anyways: this.setDefaultEncoding("UTF-8"); WOMessage.setDefaultURLEncoding("UTF-8"); ERXMessageEncoding.setDefaultEncoding("UTF-8"); Check the header of the HTML page: Also check the form encoding, this is unusual and you can skip this if you added the meta tag above: or Form : WOForm { ... accept-charset = "UTF-8"; } As I said, I haven't found the definitive method because there are several variables. Do you do a getBytes() anywhere? Always use a character map with getBytes(); > Jens > > > Am 13.05.2014 um 18:01 schrieb Klaus Berkling : > >> >> On May 13, 2014, at 8:49 AM, Dipl.-Ing. Jens Lünstedt >> wrote: >> >>> I have a strange problem. Today I noticed in one of my apps that all german >>> characters like öäü are changed. So when I get the event that the text of >>> that field is changed the text is already changed to something not >>> readable. The last time some days ago I tested that in the app all was ok. >>> I checked the properties of the project in Eclipse and all encoding is on >>> UTF-8. I didn't changed the properties file of the project. I run another >>> application and all is fine. I moved the project to another machine and it >>> was the same. I used another fresh database but it doesn't help. I tested >>> another browser, I cleaned the project and I rebooted the machine. Nothing >>> helped. >>> >>> So I'm sure it has something to do with my project but where? In the >>> project preferences I use UTF-8 encoding. I think it must be on the way >>> from the browser to the event in my app, perhaps in the WO framework. >> >> Does the text survive the request/response loop w/out saving and subsequent >> retrieval from the database? >> Does the text survive the trip into the database? Can you see it correctly >> with a db admin GUI? >> Did JDBC connector change? New version? >> Did the JDBC connection string change? >> >> >> >> >> kib >> >> "Some people never see the light, Till it shines through bullet holes." >> Tropic Moon, Burce Cockburn >> >> Klaus Berkling >> www.berkling.us | @kiberkli | Photography >> >> >> >> >> >> ___ >> Do not post admin requests to the list. They will be ignored. >> Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) >> Help/Unsubscribe/Update your Subscription: >> https://lists.apple.com/mailman/options/webobjects-dev/jens.luenstedt%40ritz-schmidt.de >> >> This email sent to jens.luenst...@ritz-schmidt.de > kib Klaus Berkling www.berkling.us | @kiberkli | Photography smime.p7s Description: S/MIME cryptographic signature ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: [ANN] Montage Studio
Thanks Jonathan, make good use of it! Benoit > On May 12, 2014, at 12:58, Jonathan Miller wrote: > > Thank you for the history of Montage and congratulations on creating an > amazing product! > > >> On Sun, May 11, 2014 at 9:57 PM, Benoit Marchant wrote: >> Fellow WebObjects developers, >> >> I'm really proud to announce that Montage Studio, the company behind >> MontageJS is now out in the open, more at http://montagestudio.com. For the >> past 18 months, the team has been building, with MontageJS, an interactive >> authoring environment to take the creation of MontageJS applications to a >> whole new level. >> >> The technological path toward Montage Studio originated at Apple where I >> worked from 1999 to 2010 on bringing the ease-of-use of Mac OS X / iOS user >> interfaces to the Web. On this journey, I created a first framework and >> worked with other talented engineers such as Pierre Frisch, Mike Czepiel and >> François Frisch to build modern, intuitive web applications for the iTunes >> Store, Apple Retail and apple.com. >> >> [One accidental send later ;-) ] >> In the summer of 2010, I left Apple for Motorola Mobility to lead as >> Director of Engineering the creation of a Mobile HTML5 platform, a well >> funded project that was sponsored by the CEO. I was quickly followed by the >> group of Apple engineers that would later become the core of the Montage >> Studio team. Leveraging our shared experience at Apple and with new talents >> added to the team, we applied some of the key engineering designs of Cocoa >> and WebObjects to HTML5 and created MontageJS, a modern HTML5 framework that >> simplifies the development of expressive, cross-screen applications. >> >> In the summer of 2012, after the acquisition of Motorola by Google, the new >> leadership allowed us to release MontageJS as open source under a BSD >> license. I co-founded Montage Studio with Pierre Frisch, quickly joined by >> the core team from Motorola. We're VC funded, notably by Avie Tevanian, the >> former VP Engineering at NeXT and former Apple CTO. >> >> With the interactive authoring features of Montage Studio, in beta, web >> designers and developers work together in this cloud-based environment to >> craft powerful, future-proof applications that seamlessly blend 2D and 3D >> content, exceed user expectations, and drive cross-screen engagement. >> Montage Studio is directly connected with GitHub. You'll find some concepts >> from Interface Builder applied to components, with Functional Reactive >> Bindings, event handling, the ability to build 3D components, reuse >> components, some powerful and configurable components like the Flow, some >> improved composition concepts compared to WebObjects, and the ability to see >> in real-time, in your app running on-devices, the changes you're making to >> that app in Montage Studio. Montage Studio is free to use for open source >> projects and will be available as a subscription for closed source projects, >> just like GitHub. >> >> I'm incredibly proud of what our team has achieved and excited about the >> potential for developers, especially for you, as you should find it really >> familiar and easy to learn! So join the beta here at >> http://montagestudio.com/reveal/ and we look forward to hearing from you! >> >> >> >> Benoit >> >> CEO & Co-Founder >> >> Montage Studio >> >> http://montagestudio.com/ >> >> Twitter: montagejs >> >> LinkedIn: http://www.linkedin.com/in/benoitmarchant >> >> >> >>> On Mon, May 12, 2014 at 12:32 AM, Benoit Marchant >>> wrote: >>> Fellow WebObjects developers, >>> >>> I'm really proud to announce that Montage Studio, the company behind >>> MontageJS is now out in the open, more at http://montagestudio.com. For the >>> past 18 months, the team has been building, with MontageJS, an interactive >>> authoring environment to take the creation of MontageJS applications to a >>> whole new level. >>> >>> The technological path toward Montage Studio originated at Apple where I >>> worked from 1999 to 2010 on bringing the ease-of-use of Mac OS X / iOS user >>> interfaces to the Web. On this journey, I created a first framework and >>> worked with other talented engineers such as Pierre Frisch, Mike Czepiel >>> and François Frisch to build modern, intuitive web applications for the >>> iTunes Store, Apple Retail and apple.com. >> >> >> ___ >> Do not post admin requests to the list. They will be ignored. >> Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) >> Help/Unsubscribe/Update your Subscription: >> https://lists.apple.com/mailman/options/webobjects-dev/jlmiller%40kahalawai.com >> >> This email sent to jlmil...@kahalawai.com > ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/U
Re: Character Encoding of textfield
On May 13, 2014, at 8:49 AM, Dipl.-Ing. Jens Lünstedt wrote: > I have a strange problem. Today I noticed in one of my apps that all german > characters like öäü are changed. So when I get the event that the text of > that field is changed the text is already changed to something not readable. > The last time some days ago I tested that in the app all was ok. I checked > the properties of the project in Eclipse and all encoding is on UTF-8. I > didn't changed the properties file of the project. I run another application > and all is fine. I moved the project to another machine and it was the same. > I used another fresh database but it doesn't help. I tested another browser, > I cleaned the project and I rebooted the machine. Nothing helped. > > So I'm sure it has something to do with my project but where? In the project > preferences I use UTF-8 encoding. I think it must be on the way from the > browser to the event in my app, perhaps in the WO framework. Does the text survive the request/response loop w/out saving and subsequent retrieval from the database? Does the text survive the trip into the database? Can you see it correctly with a db admin GUI? Did JDBC connector change? New version? Did the JDBC connection string change? kib "Some people never see the light, Till it shines through bullet holes." Tropic Moon, Burce Cockburn Klaus Berkling www.berkling.us | @kiberkli | Photography smime.p7s Description: S/MIME cryptographic signature ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Character Encoding of textfield
Hello, I have a strange problem. Today I noticed in one of my apps that all german characters like öäü are changed. So when I get the event that the text of that field is changed the text is already changed to something not readable. The last time some days ago I tested that in the app all was ok. I checked the properties of the project in Eclipse and all encoding is on UTF-8. I didn't changed the properties file of the project. I run another application and all is fine. I moved the project to another machine and it was the same. I used another fresh database but it doesn't help. I tested another browser, I cleaned the project and I rebooted the machine. Nothing helped. So I'm sure it has something to do with my project but where? In the project preferences I use UTF-8 encoding. I think it must be on the way from the browser to the event in my app, perhaps in the WO framework. Has anyone an idea? Thanks Jens signature.asc Description: Message signed with OpenPGP using GPGMail ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com