Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to make sql developer display non-English character correctly instread of displaying squares?

in sql developer--preference

Environment--encoding is already set to 'UTF-8'

Code Editor--fonts was set to 'Verdana'

Database--NLS--Language was set to 'American'

The data in db was written by Java in UTF-8 encoding (95% percent sure)

What else I need to do to make it displayed correctly?

Note: the squares characters are actually Chinese characters.

enter image description here

like image 908
actan Avatar asked Jun 28 '16 04:06

actan


People also ask

How do I display Japanese characters in SQL Developer?

All you need to do is to Set the Font as "Arial Unicode MS" and make the character encoding as "UTF16" to show Kanji in your results Window. user6774418 wrote: All you need to do is to Set the Font as "Arial Unicode MS" and make the character encoding as "UTF16" to show Kanji in your results Window.

How do I change encoding in SQL Developer?

SQLDeveloper has an option to change the Encoding of database files (e.g. . sql files). This can be done from Tools -> Preferences -> Environment -> Encoding.

How do you change special characters in SQL Developer?

You can replace special characters using the Oracle REPLACE function. To replace both carriage return and new line characters, you must use nested REPLACE functions. If you want to replace a lot of special characters, using many nested REPLACE functions can get messy and could have performance impacts.

How do I change data format in SQL Developer?

From Oracle SQL Developer's menu go to: Tools > Preferences. From the Preferences dialog, select Database > NLS from the left panel. From the list of NLS parameters, enter DD-MON-RR HH24:MI:SS into the Date Format field. Save and close the dialog, done!


1 Answers

enter image description here Problem solved. Using font 'Microsoft YaHei'

like image 184
actan Avatar answered Sep 17 '22 13:09

actan