Home » Developer & Programmer » Forms » Multibyte Character problem post migration (Oracle Forms 10g)
icon4.gif  Multibyte Character problem post migration [message #457299] Sun, 23 May 2010 05:24 Go to next message
chiragm
Messages: 4
Registered: May 2010
Junior Member
Hi,

We just migrated our technology platform on one of the six servers yesterday on production d/b as follows :

OAS Server - Linux Patch Applied (2.6.18-53.el5 #1 SMP Wed Oct 10 16:34:19 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux)

D/B Server - From Oracle 10.2.0.2.0 to Oracle 10.2.0.4.0
Batch Server - From OpenVMS to Red Hat Linux

Post Migration, we are facing some issues with Oracle Forms 10g, Text Items which contains one or more than one multibyte characters, is displaying only # character in the entire text box instead of what is stored in the database. In other words, information in the database is stored correctly. Before Migration everything was working perfectly fine.
One other thing which I would like to tell here is that we compile forms using the following environment settings:
NLS_LANG_SEMANTICS=CHAR
NLS_LANG=AMERICAN_AMERICA.UTF8

Please provide urgent remedy for this issue as business users are raising hue and cry.

[Updated on: Sun, 23 May 2010 05:43]

Report message to a moderator

Re: Multibyte Character problem post migration [message #457312 is a reply to message #457299] Sun, 23 May 2010 14:46 Go to previous messageGo to next message
gregor
Messages: 86
Registered: March 2010
Location: Germany
Member
Hi chiragm,

I think you mean "NLS_LENGTH_SEMANTICS", not "NLS_LANG_SEMANTICS".

NLS_LENGTH_SEMANTICS enables you to create CHAR, VARCHAR2, and LONG columns using either byte or character length semantics.

G Gregor
Re: Multibyte Character problem post migration [message #457337 is a reply to message #457299] Mon, 24 May 2010 00:22 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
I suggest you go back to the older version of the database until you have a solution for this problem. I would also suggest that you have strong words with the testing team as their testing was obviously deficient.

Have you tried compiling the forms against the new version of the database?

David
Re: Multibyte Character problem post migration [message #457342 is a reply to message #457312] Mon, 24 May 2010 00:46 Go to previous messageGo to next message
chiragm
Messages: 4
Registered: May 2010
Junior Member
Yes, you are correct. Typo Mistake at my end.
It is NLS_LENGTH_SEMANTICS..
Re: Multibyte Character problem post migration [message #457344 is a reply to message #457337] Mon, 24 May 2010 00:52 Go to previous messageGo to next message
chiragm
Messages: 4
Registered: May 2010
Junior Member
Thanks a lot for your suggestion but it is not practically feasible.

Yes, we have re-compiled all the forms against the new version of Database.

is their any solution which we can look upon ..
Re: Multibyte Character problem post migration [message #457347 is a reply to message #457344] Mon, 24 May 2010 01:01 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
You say "Text Items which contains one or more than one multibyte characters, is displaying only # character in the entire text box". Does this mean that some of the text items are displaying correctly? If yes, are the 'width' of these items twice the length of the database field?

Try tripling the 'width' of a few items and see what happens.

David
Re: Multibyte Character problem post migration [message #457441 is a reply to message #457347] Mon, 24 May 2010 08:13 Go to previous messageGo to next message
chiragm
Messages: 4
Registered: May 2010
Junior Member
Hi Martin,

Yes, your understanding is correct.

Problem is with the text items which contains only multibyte character.

Rest of the text items are perfect.

Suggestion provided by you is correct but the limitation is that this requires changes both at database level and form level which will require extensive testing and good amount of time also.

My doubt is that why this problem occured post migration as it was working fine earlier.

Re: Multibyte Character problem post migration [message #457493 is a reply to message #457441] Mon, 24 May 2010 17:07 Go to previous messageGo to next message
gregor
Messages: 86
Registered: March 2010
Location: Germany
Member
Hi chiragm,

how did you migrate -- exp - imp ?
The Import utility is explicitly designed to preserve
the original length semantics of the exported tables.

Gregor
Re: Multibyte Character problem post migration [message #457584 is a reply to message #457493] Tue, 25 May 2010 05:06 Go to previous messageGo to next message
gregor
Messages: 86
Registered: March 2010
Location: Germany
Member
Hi chiragm,
perhaps you can get there some hints:
- here are some Basics:
http://www.oracle.com/technology/tech/globalization/pdf/mwp.pdf
- here a way to migrate
http://forums.oracle.com/forums/thread.jspa?threadID=267176
Re: Multibyte Character problem post migration [message #459715 is a reply to message #457441] Tue, 08 June 2010 01:49 Go to previous message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
I don't understand why you would have to increase the column width in the database. I expect that this is purely a form issue.

Increase the width in the form and see what happens.

David
Previous Topic: How to read the appliucation URL runtime
Next Topic: Estimation Guidelines
Goto Forum:
  


Current Time: Fri Sep 20 08:45:07 CDT 2024