> I have a database with ISO 3166 country > names and codes that I use to populate an html:select. There > is one country in the list that contains a non-ascii > character and I want to make sure it shows up properly. That > country is listed in HTML as ÅLAND ISLANDS > > I have two questions regarding this non-ascii: > 1) How should I encode it in my (mysql) > database? Right now I put it in with the character reference > as written above. > > 2) Assuming I leave it the way it is in > the database as stated in 1) above, how > do I get the html tag machinery to not > attempt to escape the ampersand? This > is the code I am using: > > <td align="left"> > <html:select property="contactInfoWidgetsSubFormCountryCode"> > <html:options collection="countries" > property="value" labelProperty="label"/> </html:select>
RTFM. You want filter="false". Also if you are using struts 1.1 you can use html:optionsCollection instead of html:options. You will find it much nicer. Specifically you will not have to declare you value and label. In either case you will want filter="false". - Dan --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]