Toad € to € symbol Oracle euro UTF-8 - oracle

I am using Toad 9.0.1.8.
A table in a column was showing a euro € symbol as €
I've tried changing the environment variable NLS_LANG=AMERICAN_AMERICA.AL32UTF8 in my windows machine, I've also tried using American_America.UTF8 and American_America.WE8ISO8859P1, yet it did not get resolved, I'm still seeing the characters but not a euro symbol. Every time i changed the env var, I restarted Toad.
Could somebody help? Tried some solutions by searching online, nothing worked.

Maybe you have a character set issue in you DB? From this thread it seems to be a problem with DB settings.
Also some suggestion on charset issues suggest upgrading to version 10 of Toad if that is an option since it's a unicode release.

Related

Why does one machine assume unicode and another non-unicode for same database columns in SSIS OLE DB Source task?

A coworker made an SSIS package that pulls data from Oracle and transfers it to a SQL Server database that is nearly identical, so it's a lot of data flow tasks simply with an OLE DB Source (Oracle) to an OLE DB Destination (SS). When I open it on my computer, I get the error "Column [column name] cannot convert between unicode and non-unicode string data types" on all the source tasks. If I add a data conversion task to convert the unicode columns to non-unicode, all works fine but I really want this to work like how he has it because it's running on the production server like this. My best guess is it has to do with the installing of the Oracle client or drivers or the NLS_LANG variable but I can't seem to solve it. My environment variable NLS_LANG = AMERICAN_AMERICA.WE8ISO8859P1
I was worried something went wrong with my Oracle client installation because of my registry values. Now I have 3 clients installed since I went through the install process again. These are the third client's reg values and I added NLS_LANG myself and rebooted. I'm more of a SQL Server developer, so I'm possibly saying something wrong here.
The solution was to set the NLS_LANG environment variable value to AMERICAN_AMERICA.WE8MSWIN1252 to match what my coworker had and what my registry has because I somehow didn't notice they were different! However, neither NLS_LANG were set to start with so the real solution was to add this in. I rebooted and when I reopened the package, got zero errors.

Migration from Windows Oracle 12c to Linux Oracle 18c

enter image description hereWe are migrating Oracle DB from 12c Windows Oracle to 18c Linux Oracle installation. Some of the columns (derived columns) in views has become unicode and not usable by downstream SSIS. Any reason why these views are giving error in SSIS? SSIS is complaining that in 18c columns have become unicode
12c View definition is
enter image description here
18 c View defintion
enter image description here
I think your problem matches this :
Oraoledb: Cannot Convert Between Unicode And Non-Unicode String Data Types (Doc ID 960508.1)
This is due to a difference in metadata reported by the OleDb provider depending upon whether NLS_LANG environment variable is set. Typically this behaviour would be observed when the SSIS package is developed in an environment that has NLS_LANG set, and then deployed to an environment that does not have it set. The difference in metadata results in the error, and is being investigated via Oracle bug number bug 7836009.
To resolve this issue, set NLS_LANG to the same setting as the box the package was developed on, which result in the same metadata being reported in both cases.The NLS_LANG environment variable should be set in the registry under
HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\KEY_<homename>\NLS_LANG
Export the NLS_LANG variable in Linux with the same value as the original database
The behavior can also be worked around by refreshing the SSIS package after deployment, which will refresh the metadata.
Hope it helps.
Regards.

How to display symbols i.e. degree (°) same in all systems

Our application has database Oracle 12c and Client in Java.
I wonder when using plsql developer for oracle then symbols i.e.° (degree) are displayed using system's language setting or plsql developer setting or oracle server character setting?
We have some symbols like degree which are displayed correct in some machine and some machine shows garbage character. How to do this setting to display symbols same in all systems?
I tried to store chr(176) instead of degree symbol (°) in database still no luck. It shows correct in my systems but shows null in my colleague's machine.

SAS Oracle Data Issues

I'm having an issue regarding special characters. I use SAS to connect to an Oracle database and then download tables from Oracle to SAS datasets.
Previously, special characters where downloaded correctly without a problem. I've recently received a new laptop at work and since then there has been some data issues.
Basically, what is happening is that special characters are removed or completely replaced. For instance, é is being replaced by e. á replaced with a. Other special characters are just completely removed and replaced with '?'
I've read a bunch of articles about encoding, transcoding and NLS_LANGUAGE, but I just can't figure out why this is happening and how to fix it. My other colleagues who are still using old laptops do not have this same issue!
Please, any help would be GREATLY appreciated
Check your Windows Registry. On my machine the setting is at HKEY_LOCAL_MACHINE\SOFTWARE\oracle\KEY_OraClient11g_home1\NLS_LANG. Compare this key to that of coworkers who use SAS w/ Oracle and still have the older laptops.

Oracle's NCHR() function is behaving differently across platforms. How to fix?

I am encountering an issue with some Oracle code which uses the NCHR function. The same code is running on Windows/Ora10g and Linux/Ora11g, yet it behaves differently.
The NLS characterset is identical on both instances.
I am trying to determine if this is an issue with Oracle versions or because of the OS.
Has anyone encountered this before? If so, how do I fix?
NCHR in Oracle documentation
The outcome of NCHR does not depend on the database NLS characterset. It depends on the client NLS characterset. The default client NLS_LANG setting on windows set by installer is different than linux.

Resources