Author Topic: How to make SlickEdit to use SBCS mode for PL/SQL  (Read 3398 times)

PranT

  • New Community Member
  • Posts: 1
  • Hero Points: 0
How to make SlickEdit to use SBCS mode for PL/SQL
« on: March 28, 2013, 05:35:02 AM »
Hello.

I use:
Code: [Select]
SlickEdit 2011 (v16.0.1.0 32-bit)
Build Date: July 15, 2011
Emulation: CUA
OS: Windows XP
OS Version: 5.01.2600  Service Pack 3

Project Type: Other
Language: .pks (PL/SQL)

When I open PL/SQL-files, SlickEdit loads them as Unicode. How can I make the program to use SBCS mode instead of Unicode? When file is opened in Unicode Mode it works not correct when the line contains russian symbols. Every such symbol is interpreted as 2 bytes, so when I insert tabulations, they appear in a wrong place. I expect that tabulations insert blanks in proportion to 3.

Also Unicode Mode has some another bad effects when text contains russian symbols.

Thank you.
« Last Edit: April 02, 2013, 03:03:15 AM by PranT »

Matthew

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 990
  • Hero Points: 44
Re: How to make SlickEdit to use SBCS mode for PL/SQL
« Reply #1 on: April 02, 2013, 02:42:21 PM »
You can make SBCS the default encoding on a per-extension basis. Go to the Tools > Options page, and under the Languages > File Extension Manager section you can set up that mapping for the extensions you use most often with SQL files.