PL/SQL Developer displays does not display Hebrew characters properly

后端 未结 3 1064
情书的邮戳
情书的邮戳 2021-01-25 04:32

\"enter

Hi all, I\'ve uploaded a photo of the way I see dates in PL/SQL Developer, I see

相关标签:
3条回答
  • 2021-01-25 05:08

    The issue seems to be due to mismatch between NLS parameters in client and database. For such questions, always remember to post the OS details, DB version up to 4 decimals.

    To check the the parameter values:

    SELECT * FROM v$nls_parameters;
    SELECT * FROM nls_database_parameters;
    
    1. Set the NLS_DATE_LANGUAGE in client exactly same as that of Database. In your case, NLS_DATE_LANGUAGE in database is AMERICAN.

    2. Set the environment variable for NLS_LANG as :

    [NLS_LANGUAGE]_[NLS_TERRITORY].[NLS_CHARACTERSET]

    so, set it as AMERICAN_AMERICA.WE8MSWIN1252

    1. Another observation is that, your other NLS parameters also needs to be changed in client to match with that of Database. Else, you will find similar issues every now and then, just not with DATE.
    0 讨论(0)
  • 2021-01-25 05:12

    You may try changing 'Date Format', 'Timestamp Format', 'Timestamp TZ Format' to "DD-MON-YYYY HH24:MI:SS" (minus quotes) or in the format you want.

    Access the preferences from Tools->Preferences->Database->NLS

    0 讨论(0)
  • 2021-01-25 05:21

    I would like to leave here a solution that has nothing to do with the national language settings, and, as the post that lead me to this itself states, 9 out of 10 cases of problems like yours (I was having just the same) - are fixed following this solution, instead.

    I have been messing with the NLS for a while to no avail. I then just ended up in this post and this was what solved my problem.

    In a short, if the font chosen to display SQL results is one that does not support the language you are trying to display in, then it will not work. In my case, needing to display Hebrew, I was able to do so simply by picking Tahoma as the display font, as suggested, again, by the post aforementioned.

    Here is a screenshot showing the procedure:

    Preferences -> User Interface -> Fonts -> Grid -> Select

    enter image description here

    0 讨论(0)
提交回复
热议问题