International characters

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

International characters

mob-2
Hello!

In my application when I pass along data between instances of pages the international (accented characters) get corrupted (they turn into question marks).

Could someone give me some clues to what could be happening ? (We are towards ending testing so I would be greatful for some quick advise)

Thanks,
Balazs



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: International characters

Erik Bruchez
Administrator
Balazs,

You may want to check this bug, which has been fixed recently:

http://forge.objectweb.org/tracker/index.php?func=detail&aid=304080&group_id=168&atid=350207

This may actually be the issue you are observing.

I assume you are using OPS 2.8. You will need to patch your OPS 2.8
install and see if that fixes the bug. To get there, you need to get the
OPS 2.8 source, change the two related files, compile the classes, and
patch the OPS 2.8 orbeon.jar with those two classes.

-Erik

[hidden email] wrote:
> Hello!
>
> In my application when I pass along data between instances of pages the international (accented characters) get corrupted (they turn into question marks).
>
> Could someone give me some clues to what could be happening ? (We are towards ending testing so I would be greatful for some quick advise)
>
> Thanks,
> Balazs



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: International characters

mob-2
Hello Eric,

Thanks for the tip.

regards,
Bal??zs



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: International characters

mob-2
In reply to this post by Erik Bruchez
Hello Erik,

I have done the source changes. I have realized that although I was using 2.8, there was some restructuring in the classes. I would not bother if after installing orbeon.jar things were fine, but now orbeon does not start up. I will mass around with jar-s some more, but is there something I should watch out ? (We have made some changes for instance in xforms-to-xhtml, should the old version work as in the previous release ?)

(I checked out TAG...2_8_1_200507181404 into dev studio in eclipse. I did the modifications than done a build and copied the resulting orbeon.jar to my project's WEB-INF/lib)

regards,
Bal??zs



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: International characters

Erik Bruchez
Administrator
Hi Balazs,

The tag for OSP 2.8 is the following:

   2_8_1_200503031050

The tag you used got you a much later version, closer from the first
beta of OPS 3.0, which explains the major differences.

-Erik

[hidden email] wrote:

 > I have done the source changes. I have realized that although I was
 > using 2.8, there was some restructuring in the classes. I would not
 > bother if after installing orbeon.jar things were fine, but now
 > orbeon does not start up. I will mass around with jar-s some more,
 > but is there something I should watch out ? (We have made some
 > changes for instance in xforms-to-xhtml, should the old version work
 > as in the previous release ?)
 >
 > (I checked out TAG...2_8_1_200507181404 into dev studio in
 > eclipse. I did the modifications than done a build and copied the
 > resulting orbeon.jar to my project's WEB-INF/lib)
 >
 > regards,
 > Bal??zs



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: International characters

Erik Bruchez
Administrator
Oops, it looks like the tag contains 2_8_0, not 2_8_1. For reference,
these are the complete CVS tags for OPS 2.8.0 and 2.7.2:

TAG_OPS_2_8_0_200503031050
TAG_OPS_2_7_2_200501132359

-Erik

Erik Bruchez wrote:

> Hi Balazs,
>
> The tag for OSP 2.8 is the following:
>
>   2_8_1_200503031050
>
> The tag you used got you a much later version, closer from the first
> beta of OPS 3.0, which explains the major differences.
>
> -Erik
>
> [hidden email] wrote:
>
>  > I have done the source changes. I have realized that although I was
>  > using 2.8, there was some restructuring in the classes. I would not
>  > bother if after installing orbeon.jar things were fine, but now
>  > orbeon does not start up. I will mass around with jar-s some more,
>  > but is there something I should watch out ? (We have made some
>  > changes for instance in xforms-to-xhtml, should the old version work
>  > as in the previous release ?)
>  >
>  > (I checked out TAG...2_8_1_200507181404 into dev studio in
>  > eclipse. I did the modifications than done a build and copied the
>  > resulting orbeon.jar to my project's WEB-INF/lib)
>  >
>  > regards,
>  > Bal??zs


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: International characters

mob-2
In reply to this post by Erik Bruchez
Erik,

I have done the changes as suggested in your link (http://forge.objectweb.org/tracker/index.php?func=detail&aid=304080&group_id=168&atid=350207).

It has solved the case when characters got consistently corrupted. Still in some cases some (not all characters in the instance and not each occurence of any specific character) characters turn into 65533 after a request, which is a lot more difficult to reproduce and is not so consistent either.
- I have set the jvm to use my own locale (hu_HU)
- the page source shows UTF-8

Have you got some ideas what could go wrong ?

regards,
Balazs



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: International characters

Erik Bruchez
Administrator
[hidden email] wrote:
> Erik,
>
> I have done the changes as suggested in your link (http://forge.objectweb.org/tracker/index.php?func=detail&aid=304080&group_id=168&atid=350207).

Great!

> It has solved the case when characters got consistently corrupted. Still in some cases some (not all characters in the instance and not each occurence of any specific character) characters turn into 65533 after a request, which is a lot more difficult to reproduce and is not so consistent either.
> - I have set the jvm to use my own locale (hu_HU)
> - the page source shows UTF-8
>
> Have you got some ideas what could go wrong ?

The first thing to do would be to get the to reproduce this
consistently, then, unfortunately, it looks like this would have to be
solved with a debugger! There may still be some code using the default
encoding instead of utf-8, or something else, who knows.

-Erik



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws