Yes - Sorry there is a related bug : https://issues.apache.org/jira/browse/CLOUDSTACK-2376
and a linked issue : https://issues.apache.org/jira/browse/CLOUDSTACK-5799 I will work on the patch and submit with tests. Alex Hitchins +44 7788 423 969 -----Original Message----- From: sebgoa [mailto:run...@gmail.com] Sent: 08 January 2014 15:09 To: dev@cloudstack.apache.org Subject: Re: Unicode Characters in Input Fields On Jan 8, 2014, at 3:16 PM, Alex Hitchins <alex.hitch...@shapeblue.com> wrote: > All, > > Further to the below, I've done some digging around and have located the > following change : > http://permalink.gmane.org/gmane.comp.apache.cloudstack.devel/7621 > > It looks like the validation was created to prevent non-printable characters > from being entered. A regex was used to match the undesirable characters. > This was included in 4.1 (note that 3.x does not have this issue). > > My regular expression knowledge could do with improving. Could someone verify > that the pattern [\000-\037\177] will match on characters such as ü as well > as the ASCII non-printable characters are numbers 0 to 31 and 127 decimal. > > If so, I can refine the validation to allow unicode yet exclude 0, 31 & 127. > Alex, is there a bug for this in JIRA ? If yes, you can submit a patch via review board and describe the tests you did to make sure this does not break anything . -sebastien > > > Alex Hitchins > +44 7788 423 969 > > -----Original Message----- > From: Alex Hitchins [mailto:alex.hitch...@shapeblue.com] > Sent: 08 January 2014 11:31 > To: dev@cloudstack.apache.org > Subject: Unicode Characters in Input Fields > > Hi all, > > I've run in to a bug regarding entering Unicode characters in input fields, > namely the new user form. > > My issue is that you can create new users in CPBM with Unicode characters in > the name - such as ü however this causes a problem in CloudStack as they > aren't supported. > > I can see the line of code where the validation occurs - my question is - is > this be design or is this an issue? I'm guessing Japanese and German users > can enter in Unicode characters, especially for the users names. > > > > > Regards, > > Alex Hitchins > > Need Enterprise Grade Support for Apache CloudStack? > Our CloudStack Infrastructure > Support<http://shapeblue.com/cloudstack-infrastructure-support/> offers the > best 24/7 SLA for CloudStack Environments. > > Apache CloudStack Bootcamp training courses > > **NEW!** CloudStack 4.2 training<http://shapeblue.com/cloudstack-training/> > 08/09 January 2014, London<http://shapeblue.com/cloudstack-training/> > 13-17 January 2014, GLOBAL. Instructor led, > On-line<http://shapeblue.com/cloudstack-training/> > 20-24 January 2014, GLOBAL. Instructor led, > On-line<http://shapeblue.com/cloudstack-training/> > > This email and any attachments to it may be confidential and are intended > solely for the use of the individual to whom it is addressed. Any views or > opinions expressed are solely those of the author and do not necessarily > represent those of Shape Blue Ltd or related companies. If you are not the > intended recipient of this email, you must neither take any action based upon > its contents, nor copy or show it to anyone. Please contact the sender if you > believe you have received this email in error. Shape Blue Ltd is a company > incorporated in England & Wales. ShapeBlue Services India LLP is a company > incorporated in India and is operated under license from Shape Blue Ltd. > Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is > operated under license from Shape Blue Ltd. ShapeBlue is a registered > trademark. > This email and any attachments to it may be confidential and are intended > solely for the use of the individual to whom it is addressed. Any views or > opinions expressed are solely those of the author and do not necessarily > represent those of Shape Blue Ltd or related companies. If you are not the > intended recipient of this email, you must neither take any action based upon > its contents, nor copy or show it to anyone. Please contact the sender if you > believe you have received this email in error. Shape Blue Ltd is a company > incorporated in England & Wales. ShapeBlue Services India LLP is a company > incorporated in India and is operated under license from Shape Blue Ltd. > Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is > operated under license from Shape Blue Ltd. ShapeBlue is a registered > trademark. This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Shape Blue Ltd or related companies. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error. Shape Blue Ltd is a company incorporated in England & Wales. ShapeBlue Services India LLP is a company incorporated in India and is operated under license from Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is operated under license from Shape Blue Ltd. ShapeBlue is a registered trademark.