Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ unset NLS_LANG
- $ cat elementary.sql
- select unistr('\201c') || 'Elementary,' || unistr('\201d') || ' said he.' q from dual;
- quit
- $ sqlplus win/win @ elementary.sql
- Q
- ----------------------
- ?Elementary,? said he.
- $ export NLS_LANG=.US7ASCII
- $ sqlplus win/win @ elementary.sql
- Q
- ----------------------
- ?Elementary,? said he.
- $ export NLS_LANG=.WE8MSWIN1252
- $ sqlplus win/win @ elementary.sql
- Q
- ----------------------
- Elementary, said he.
- PuTTY Window->Translation->Win1251(Western).
- Open new window.
- $ export NLS_LANG=.WE8MSWIN1252
- $ sqlplus win/win @ elementary.sql
- Q
- ----------------------
- “Elementary,” said he.
- $ export NLS_LANG=.AL32UTF8
- $ sqlplus win/win @ elementary.sql
- Q
- --------------------------------------------------------------------------------
- “Elementary,â€
- PuTTY Window->Translation->UTF-8.
- Open new window.
- $ export NLS_LANG=.AL32UTF8
- $ sqlplus win/win @ elementary.sql
- Q
- --------------------------------------------------------------------------------
- “Elementary,” said he.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement