Maybe you are not saving the file as UTF-8? Or maybe you are saving it
correctly, but reading it in with a different encoding?
On Sep 27, 2011, at 8:03 PM, Luiz Gustavo wrote:
> Hi Greg,
>
> no, I didn't, but even typing the text directly I got the error. For example:
>
> confirmCloseTabPrompt.setOptions("Sim"); /* It gives me the same error as if
> I had used resources */
>
> Cheers,
> Luiz Gustavo
>
>
>
> 2011/9/27 Greg Brown <[email protected]>
> Unicode escapes should work, but have you tried simply entering the character
> as Unicode (i.e. save the file in UTF-8)?
>
> On Sep 27, 2011, at 7:53 PM, Luiz_Gustavo wrote:
>
> > Well,
> >
> > I could solve my problem putting the options in the bxml, but still would
> > like to know the reasons that lead to that problem.
> > And another question: how could I input two localized options in a "options"
> > property? I had to put both options in the .json entry because I didn't know
> > how to do that on the bxml.
> >
> > http://apache-pivot-users.399431.n3.nabble.com/file/n3374425/encoding_solution.png
> >
> > --
> > View this message in context:
> > http://apache-pivot-users.399431.n3.nabble.com/Unexpected-character-in-input-stream-tp3374340p3374425.html
> > Sent from the Apache Pivot - Users mailing list archive at Nabble.com.
>
>
>
>
> --
> Luiz Gustavo S. de Souza
>
> http://luizgustavoss.wordpress.com
>
>