Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Weird characters returned from Oracle database
Check registry on your laptop and on your desktop. Try to find NLS_LANG
variable and see if they are the same. NLS_LANG tells Net80 (Oracle's
communication protocol) which characterset is your workstation using. You
should set it up like on your Laptop.
Marty Will Follow <marty_mj_at_my-deja.com> wrote in message
news:8d15cc45.0211040744.3aa9db26_at_posting.google.com...
> Hello,
>
> I'm experiencing a strange compatibility issue (I think). Hopefully I
> make some sense describing the problem...
> I have some Visual Basic code that calls a stored procedure on an
> Oracle database (through an ODBC link). Now, when I execute it on my
> laptop, all behaviour is as expected. However, when executing it on
> the corporate desktop (where it should run in the end) I get a strange
> return code. There are some weird ASCII characters such as 0%3|| (I'm
> using standard characters at the moment as the 'registered trademark'
> sign etc. may not display properly).
> I tried looking at the regional settings (even though I make no use at
> all of dates, currencies, time, etc. just plain text strings), but it
> seems as if my laptop has the same settings as the desktop
> workstation.
>
> Since it works on at least one computer (the development laptop) I
> think it is not a Visual Basic problem (but I'm not sure). Can Oracle
> really be this big a pain in the ass?
>
> Here is the VB-code that builds up the stored procedure:
>
> -----
> Public Function InitializeACC() As Boolean
>
'*************************************************************************** ***> ' Initializes the command for executing the Intelligent Retrieval
> ' InitializeACC
'******************************************************************************