Re: Where to disable encrypting of non latin chars?
I do not get what you are talking. Saeed Iqbal-2 wrote: > > I mean if you want to display decoded HTML value, then feed in encoded > values or the other option first > > On Sat, Nov 28, 2009 at 6:50 AM, Saeed Iqbal wrote: > >> These are encoded characters. Either output this but first you must imo >> try >> s:property with escape="false" >> >> >> On Sat, Nov 28, 2009 at 5:57 AM, Alex Siman >> wrote: >> >>> >>> I don't know... Do I need these extra bytes in output? And are that >>> entities >>> good for SEO (Google, others)? >>> >>> Saeed Iqbal-2 wrote: >>> > >>> > I personally feel that is a good feature of Struts. >>> > >>> > On Fri, Nov 27, 2009 at 8:22 AM, Saeed Iqbal >>> wrote: >>> > >>> >> escape="false" can help you or show those characters as encoded >>> values >>> >> >>> >> >>> >> On Fri, Nov 27, 2009 at 8:17 AM, Alex Siman >>> >> wrote: >>> >> >>> >>> >>> >>> I just have found another issue after upgrading from [2.1.6] -> >>> [2.1.8]. >>> >>> Struts now encode any non latin char to its HTML entity of property. >>> >>> >>> >>> E.g. now I have such a mess in HTML output (in browser it looks >>> OK): >>> >>> описание >>> >>> >>> >>> How to disable encoding of every char but leave only encoding of >>> special >>> >>> chars like?: >>> >>> < > ' " >>> >>> -- >>> >>> View this message in context: >>> >>> >>> http://old.nabble.com/Where-to-disable-encrypting-of-non-latin-chars--tp26535859p26535859.html >>> >>> Sent from the Struts - User mailing list archive at Nabble.com. >>> >>> >>> >>> >>> >>> >>> - >>> >>> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org >>> >>> For additional commands, e-mail: user-h...@struts.apache.org >>> >>> >>> >>> >>> >> >>> >> >>> >> -- >>> >> Saeed Iqbal >>> >> http://www.iqbalconsulting.com >>> >> Struts - J2EE - Application Architect / Developer >>> >> >>> >> >>> > >>> > >>> > -- >>> > Saeed Iqbal >>> > http://www.iqbalconsulting.com >>> > Struts - J2EE - Application Architect / Developer >>> > >>> > >>> >>> -- >>> View this message in context: >>> http://old.nabble.com/Where-to-disable-encrypting-of-non-latin-chars--tp26535859p26545411.html >>> Sent from the Struts - User mailing list archive at Nabble.com. >>> >>> >>> - >>> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org >>> For additional commands, e-mail: user-h...@struts.apache.org >>> >>> >> >> >> -- >> Saeed Iqbal >> http://www.iqbalconsulting.com >> Struts - J2EE - Application Architect / Developer >> >> > > > -- > Saeed Iqbal > http://www.iqbalconsulting.com > Struts - J2EE - Application Architect / Developer > > -- View this message in context: http://old.nabble.com/Where-to-disable-encrypting-of-non-latin-chars--tp26535859p26554981.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Where to disable encrypting of non latin chars?
)) Yeah, congrats! I use this magic from the day 1. Anyway, thanx for attention. Miguel-55 wrote: > > I use lots of pages with accented latin characters, and in the source > you can see the native characters, not encoded as html entities. > The thing I use, in the <%@ page ...%> header, that should be the > first thing in a jsp, I define the charset as utf-8, and that does the > magic, at least for me. > > <%@ page language="java" contentType="text/html; charset=UTF-8" > pageEncoding="UTF-8"%> > > Si quieres ser más positivo, pierde un electrón > Miguel Ruiz Velasco Sobrino > > > > On Fri, Nov 27, 2009 at 20:14, Saeed Iqbal wrote: >> I mean if you want to display decoded HTML value, then feed in encoded >> values or the other option first >> >> On Sat, Nov 28, 2009 at 6:50 AM, Saeed Iqbal wrote: >> >>> These are encoded characters. Either output this but first you must imo >>> try >>> s:property with escape="false" >>> >>> >>> On Sat, Nov 28, 2009 at 5:57 AM, Alex Siman >>> wrote: >>> I don't know... Do I need these extra bytes in output? And are that entities good for SEO (Google, others)? Saeed Iqbal-2 wrote: > > I personally feel that is a good feature of Struts. > > On Fri, Nov 27, 2009 at 8:22 AM, Saeed Iqbal wrote: > >> escape="false" can help you or show those characters as encoded values >> >> >> On Fri, Nov 27, 2009 at 8:17 AM, Alex Siman >> wrote: >> >>> >>> I just have found another issue after upgrading from [2.1.6] -> [2.1.8]. >>> Struts now encode any non latin char to its HTML entity of property. >>> >>> E.g. now I have such a mess in HTML output (in browser it looks OK): >>> описание >>> >>> How to disable encoding of every char but leave only encoding of special >>> chars like?: >>> < > ' " >>> -- >>> View this message in context: >>> http://old.nabble.com/Where-to-disable-encrypting-of-non-latin-chars--tp26535859p26535859.html >>> Sent from the Struts - User mailing list archive at Nabble.com. >>> >>> >>> - >>> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org >>> For additional commands, e-mail: user-h...@struts.apache.org >>> >>> >> >> >> -- >> Saeed Iqbal >> http://www.iqbalconsulting.com >> Struts - J2EE - Application Architect / Developer >> >> > > > -- > Saeed Iqbal > http://www.iqbalconsulting.com > Struts - J2EE - Application Architect / Developer > > -- View this message in context: http://old.nabble.com/Where-to-disable-encrypting-of-non-latin-chars--tp26535859p26545411.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org >>> >>> >>> -- >>> Saeed Iqbal >>> http://www.iqbalconsulting.com >>> Struts - J2EE - Application Architect / Developer >>> >>> >> >> >> -- >> Saeed Iqbal >> http://www.iqbalconsulting.com >> Struts - J2EE - Application Architect / Developer >> > > - > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > > -- View this message in context: http://old.nabble.com/Where-to-disable-encrypting-of-non-latin-chars--tp26535859p26554455.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Where to disable encrypting of non latin chars?
Congrats :) On Saturday, November 28, 2009, Miguel wrote: > I use lots of pages with accented latin characters, and in the source > you can see the native characters, not encoded as html entities. > The thing I use, in the <%@ page ...%> header, that should be the > first thing in a jsp, I define the charset as utf-8, and that does the > magic, at least for me. > > <%@ page language="java" contentType="text/html; charset=UTF-8" > pageEncoding="UTF-8"%> > > Si quieres ser más positivo, pierde un electrón > Miguel Ruiz Velasco Sobrino > > > > On Fri, Nov 27, 2009 at 20:14, Saeed Iqbal wrote: >> I mean if you want to display decoded HTML value, then feed in encoded >> values or the other option first >> >> On Sat, Nov 28, 2009 at 6:50 AM, Saeed Iqbal wrote: >> >>> These are encoded characters. Either output this but first you must imo try >>> s:property with escape="false" >>> >>> >>> On Sat, Nov 28, 2009 at 5:57 AM, Alex Siman >>> wrote: >>> I don't know... Do I need these extra bytes in output? And are that entities good for SEO (Google, others)? Saeed Iqbal-2 wrote: > > I personally feel that is a good feature of Struts. > > On Fri, Nov 27, 2009 at 8:22 AM, Saeed Iqbal wrote: > >> escape="false" can help you or show those characters as encoded values >> >> >> On Fri, Nov 27, 2009 at 8:17 AM, Alex Siman >> wrote: >> >>> >>> I just have found another issue after upgrading from [2.1.6] -> [2.1.8]. >>> Struts now encode any non latin char to its HTML entity of property. >>> >>> E.g. now I have such a mess in HTML output (in browser it looks OK): >>> описание >>> >>> How to disable encoding of every char but leave only encoding of special >>> chars like?: >>> < > ' " >>> -- >>> View this message in context: >>> http://old.nabble.com/Where-to-disable-encrypting-of-non-latin-chars--tp26535859p26535859.html >>> Sent from the Struts - User mailing list archive at Nabble.com. >>> >>> >>> - >>> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org >>> For additional commands, e-mail: user-h...@struts.apache.org >>> >>> >> >> >> -- >> Saeed Iqbal >> http://www.iqbalconsulting.com >> Struts - J2EE - Application Architect / Developer >> >> > > > -- > Saeed Iqbal > http://www.iqbalconsulting.com > Struts - J2EE - Application Architect / Developer > > -- View this message in context: http://old.nabble.com/Where-to-disable-encrypting-of-non-latin-chars--tp26535859p26545411.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: -- Saeed Iqbal http://www.iqbalconsulting.com Struts - J2EE - Application Architect / Developer - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Where to disable encrypting of non latin chars?
I use lots of pages with accented latin characters, and in the source you can see the native characters, not encoded as html entities. The thing I use, in the <%@ page ...%> header, that should be the first thing in a jsp, I define the charset as utf-8, and that does the magic, at least for me. <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> Si quieres ser más positivo, pierde un electrón Miguel Ruiz Velasco Sobrino On Fri, Nov 27, 2009 at 20:14, Saeed Iqbal wrote: > I mean if you want to display decoded HTML value, then feed in encoded > values or the other option first > > On Sat, Nov 28, 2009 at 6:50 AM, Saeed Iqbal wrote: > >> These are encoded characters. Either output this but first you must imo try >> s:property with escape="false" >> >> >> On Sat, Nov 28, 2009 at 5:57 AM, Alex Siman wrote: >> >>> >>> I don't know... Do I need these extra bytes in output? And are that >>> entities >>> good for SEO (Google, others)? >>> >>> Saeed Iqbal-2 wrote: >>> > >>> > I personally feel that is a good feature of Struts. >>> > >>> > On Fri, Nov 27, 2009 at 8:22 AM, Saeed Iqbal wrote: >>> > >>> >> escape="false" can help you or show those characters as encoded values >>> >> >>> >> >>> >> On Fri, Nov 27, 2009 at 8:17 AM, Alex Siman >>> >> wrote: >>> >> >>> >>> >>> >>> I just have found another issue after upgrading from [2.1.6] -> >>> [2.1.8]. >>> >>> Struts now encode any non latin char to its HTML entity of property. >>> >>> >>> >>> E.g. now I have such a mess in HTML output (in browser it looks OK): >>> >>> описание >>> >>> >>> >>> How to disable encoding of every char but leave only encoding of >>> special >>> >>> chars like?: >>> >>> < > ' " >>> >>> -- >>> >>> View this message in context: >>> >>> >>> http://old.nabble.com/Where-to-disable-encrypting-of-non-latin-chars--tp26535859p26535859.html >>> >>> Sent from the Struts - User mailing list archive at Nabble.com. >>> >>> >>> >>> >>> >>> - >>> >>> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org >>> >>> For additional commands, e-mail: user-h...@struts.apache.org >>> >>> >>> >>> >>> >> >>> >> >>> >> -- >>> >> Saeed Iqbal >>> >> http://www.iqbalconsulting.com >>> >> Struts - J2EE - Application Architect / Developer >>> >> >>> >> >>> > >>> > >>> > -- >>> > Saeed Iqbal >>> > http://www.iqbalconsulting.com >>> > Struts - J2EE - Application Architect / Developer >>> > >>> > >>> >>> -- >>> View this message in context: >>> http://old.nabble.com/Where-to-disable-encrypting-of-non-latin-chars--tp26535859p26545411.html >>> Sent from the Struts - User mailing list archive at Nabble.com. >>> >>> >>> - >>> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org >>> For additional commands, e-mail: user-h...@struts.apache.org >>> >>> >> >> >> -- >> Saeed Iqbal >> http://www.iqbalconsulting.com >> Struts - J2EE - Application Architect / Developer >> >> > > > -- > Saeed Iqbal > http://www.iqbalconsulting.com > Struts - J2EE - Application Architect / Developer > - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Where to disable encrypting of non latin chars?
I mean if you want to display decoded HTML value, then feed in encoded values or the other option first On Sat, Nov 28, 2009 at 6:50 AM, Saeed Iqbal wrote: > These are encoded characters. Either output this but first you must imo try > s:property with escape="false" > > > On Sat, Nov 28, 2009 at 5:57 AM, Alex Siman wrote: > >> >> I don't know... Do I need these extra bytes in output? And are that >> entities >> good for SEO (Google, others)? >> >> Saeed Iqbal-2 wrote: >> > >> > I personally feel that is a good feature of Struts. >> > >> > On Fri, Nov 27, 2009 at 8:22 AM, Saeed Iqbal wrote: >> > >> >> escape="false" can help you or show those characters as encoded values >> >> >> >> >> >> On Fri, Nov 27, 2009 at 8:17 AM, Alex Siman >> >> wrote: >> >> >> >>> >> >>> I just have found another issue after upgrading from [2.1.6] -> >> [2.1.8]. >> >>> Struts now encode any non latin char to its HTML entity of property. >> >>> >> >>> E.g. now I have such a mess in HTML output (in browser it looks OK): >> >>> описание >> >>> >> >>> How to disable encoding of every char but leave only encoding of >> special >> >>> chars like?: >> >>> < > ' " >> >>> -- >> >>> View this message in context: >> >>> >> http://old.nabble.com/Where-to-disable-encrypting-of-non-latin-chars--tp26535859p26535859.html >> >>> Sent from the Struts - User mailing list archive at Nabble.com. >> >>> >> >>> >> >>> - >> >>> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org >> >>> For additional commands, e-mail: user-h...@struts.apache.org >> >>> >> >>> >> >> >> >> >> >> -- >> >> Saeed Iqbal >> >> http://www.iqbalconsulting.com >> >> Struts - J2EE - Application Architect / Developer >> >> >> >> >> > >> > >> > -- >> > Saeed Iqbal >> > http://www.iqbalconsulting.com >> > Struts - J2EE - Application Architect / Developer >> > >> > >> >> -- >> View this message in context: >> http://old.nabble.com/Where-to-disable-encrypting-of-non-latin-chars--tp26535859p26545411.html >> Sent from the Struts - User mailing list archive at Nabble.com. >> >> >> - >> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org >> For additional commands, e-mail: user-h...@struts.apache.org >> >> > > > -- > Saeed Iqbal > http://www.iqbalconsulting.com > Struts - J2EE - Application Architect / Developer > > -- Saeed Iqbal http://www.iqbalconsulting.com Struts - J2EE - Application Architect / Developer
Re: Where to disable encrypting of non latin chars?
These are encoded characters. Either output this but first you must imo try s:property with escape="false" On Sat, Nov 28, 2009 at 5:57 AM, Alex Siman wrote: > > I don't know... Do I need these extra bytes in output? And are that > entities > good for SEO (Google, others)? > > Saeed Iqbal-2 wrote: > > > > I personally feel that is a good feature of Struts. > > > > On Fri, Nov 27, 2009 at 8:22 AM, Saeed Iqbal wrote: > > > >> escape="false" can help you or show those characters as encoded values > >> > >> > >> On Fri, Nov 27, 2009 at 8:17 AM, Alex Siman > >> wrote: > >> > >>> > >>> I just have found another issue after upgrading from [2.1.6] -> > [2.1.8]. > >>> Struts now encode any non latin char to its HTML entity of property. > >>> > >>> E.g. now I have such a mess in HTML output (in browser it looks OK): > >>> описание > >>> > >>> How to disable encoding of every char but leave only encoding of > special > >>> chars like?: > >>> < > ' " > >>> -- > >>> View this message in context: > >>> > http://old.nabble.com/Where-to-disable-encrypting-of-non-latin-chars--tp26535859p26535859.html > >>> Sent from the Struts - User mailing list archive at Nabble.com. > >>> > >>> > >>> - > >>> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > >>> For additional commands, e-mail: user-h...@struts.apache.org > >>> > >>> > >> > >> > >> -- > >> Saeed Iqbal > >> http://www.iqbalconsulting.com > >> Struts - J2EE - Application Architect / Developer > >> > >> > > > > > > -- > > Saeed Iqbal > > http://www.iqbalconsulting.com > > Struts - J2EE - Application Architect / Developer > > > > > > -- > View this message in context: > http://old.nabble.com/Where-to-disable-encrypting-of-non-latin-chars--tp26535859p26545411.html > Sent from the Struts - User mailing list archive at Nabble.com. > > > - > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > -- Saeed Iqbal http://www.iqbalconsulting.com Struts - J2EE - Application Architect / Developer
Re: Where to disable encrypting of non latin chars?
I don't know... Do I need these extra bytes in output? And are that entities good for SEO (Google, others)? Saeed Iqbal-2 wrote: > > I personally feel that is a good feature of Struts. > > On Fri, Nov 27, 2009 at 8:22 AM, Saeed Iqbal wrote: > >> escape="false" can help you or show those characters as encoded values >> >> >> On Fri, Nov 27, 2009 at 8:17 AM, Alex Siman >> wrote: >> >>> >>> I just have found another issue after upgrading from [2.1.6] -> [2.1.8]. >>> Struts now encode any non latin char to its HTML entity of property. >>> >>> E.g. now I have such a mess in HTML output (in browser it looks OK): >>> описание >>> >>> How to disable encoding of every char but leave only encoding of special >>> chars like?: >>> < > ' " >>> -- >>> View this message in context: >>> http://old.nabble.com/Where-to-disable-encrypting-of-non-latin-chars--tp26535859p26535859.html >>> Sent from the Struts - User mailing list archive at Nabble.com. >>> >>> >>> - >>> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org >>> For additional commands, e-mail: user-h...@struts.apache.org >>> >>> >> >> >> -- >> Saeed Iqbal >> http://www.iqbalconsulting.com >> Struts - J2EE - Application Architect / Developer >> >> > > > -- > Saeed Iqbal > http://www.iqbalconsulting.com > Struts - J2EE - Application Architect / Developer > > -- View this message in context: http://old.nabble.com/Where-to-disable-encrypting-of-non-latin-chars--tp26535859p26545411.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Where to disable encrypting of non latin chars?
This option will unescape everything. But I need to leave escaping of next chars: < > ' " As I know it is enough for security. Saeed Iqbal-2 wrote: > > escape="false" can help you or show those characters as encoded values > > On Fri, Nov 27, 2009 at 8:17 AM, Alex Siman > wrote: > >> >> I just have found another issue after upgrading from [2.1.6] -> [2.1.8]. >> Struts now encode any non latin char to its HTML entity of property. >> >> E.g. now I have such a mess in HTML output (in browser it looks OK): >> описание >> >> How to disable encoding of every char but leave only encoding of special >> chars like?: >> < > ' " >> -- >> View this message in context: >> http://old.nabble.com/Where-to-disable-encrypting-of-non-latin-chars--tp26535859p26535859.html >> Sent from the Struts - User mailing list archive at Nabble.com. >> >> >> - >> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org >> For additional commands, e-mail: user-h...@struts.apache.org >> >> > > > -- > Saeed Iqbal > http://www.iqbalconsulting.com > Struts - J2EE - Application Architect / Developer > > -- View this message in context: http://old.nabble.com/Where-to-disable-encrypting-of-non-latin-chars--tp26535859p26545410.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Where to disable encrypting of non latin chars?
Oh, Nabble does not show those entities. Them look like next (but w/o spaces between): & #1086;& #1087;& #1080;& #1089;& #1072;& #1085;& #1080;& #1077; Alex Siman wrote: > > I just have found another issue after upgrading from [2.1.6] -> [2.1.8]. > Struts now encode any non latin char to its HTML entity of property. > > E.g. now I have such a mess in HTML output (in browser it looks OK): > описание > > How to disable encoding of every char but leave only encoding of special > chars like?: > < > ' " > -- View this message in context: http://old.nabble.com/Where-to-disable-encrypting-of-non-latin-chars--tp26535859p26545408.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Where to disable encrypting of non latin chars?
I personally feel that is a good feature of Struts. On Fri, Nov 27, 2009 at 8:22 AM, Saeed Iqbal wrote: > escape="false" can help you or show those characters as encoded values > > > On Fri, Nov 27, 2009 at 8:17 AM, Alex Siman wrote: > >> >> I just have found another issue after upgrading from [2.1.6] -> [2.1.8]. >> Struts now encode any non latin char to its HTML entity of property. >> >> E.g. now I have such a mess in HTML output (in browser it looks OK): >> описание >> >> How to disable encoding of every char but leave only encoding of special >> chars like?: >> < > ' " >> -- >> View this message in context: >> http://old.nabble.com/Where-to-disable-encrypting-of-non-latin-chars--tp26535859p26535859.html >> Sent from the Struts - User mailing list archive at Nabble.com. >> >> >> - >> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org >> For additional commands, e-mail: user-h...@struts.apache.org >> >> > > > -- > Saeed Iqbal > http://www.iqbalconsulting.com > Struts - J2EE - Application Architect / Developer > > -- Saeed Iqbal http://www.iqbalconsulting.com Struts - J2EE - Application Architect / Developer
Re: Where to disable encrypting of non latin chars?
escape="false" can help you or show those characters as encoded values On Fri, Nov 27, 2009 at 8:17 AM, Alex Siman wrote: > > I just have found another issue after upgrading from [2.1.6] -> [2.1.8]. > Struts now encode any non latin char to its HTML entity of property. > > E.g. now I have such a mess in HTML output (in browser it looks OK): > описание > > How to disable encoding of every char but leave only encoding of special > chars like?: > < > ' " > -- > View this message in context: > http://old.nabble.com/Where-to-disable-encrypting-of-non-latin-chars--tp26535859p26535859.html > Sent from the Struts - User mailing list archive at Nabble.com. > > > - > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > -- Saeed Iqbal http://www.iqbalconsulting.com Struts - J2EE - Application Architect / Developer