Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Database & SysAdmin
  3. Database
  4. How does Oracle support unicode text?

How does Oracle support unicode text?

Scheduled Pinned Locked Moved Database
databasecsharpsql-serveroraclesysadmin
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • X Offline
    X Offline
    Xiangyang Liu
    wrote on last edited by
    #1

    From what I read, you need to encode the unicode text in UTF8 format and then save it into a regular CHAR or VARCHAR field, and you need to decode the UTF8 text when you want to use the data later (like, convert it to UTF16 format). Is that true? Is there a NCHAR or NVARCHAR type in Oracle that corresponds to the same type in SQL Server? Thanks.[

    My articles and software tools

    ](http://mysite.verizon.net/XiangYangL/index.htm)

    D 1 Reply Last reply
    0
    • X Xiangyang Liu

      From what I read, you need to encode the unicode text in UTF8 format and then save it into a regular CHAR or VARCHAR field, and you need to decode the UTF8 text when you want to use the data later (like, convert it to UTF16 format). Is that true? Is there a NCHAR or NVARCHAR type in Oracle that corresponds to the same type in SQL Server? Thanks.[

      My articles and software tools

      ](http://mysite.verizon.net/XiangYangL/index.htm)

      D Offline
      D Offline
      DiWa
      wrote on last edited by
      #2

      There are unicode types in Oracle, nchar and nvarchar2 are there. You should create database with a unicode - characterset (i.e. AL32UTF8) for better performance and sorting. see also http://www.oracle.com/technology/tech/globalization/index.html

      X 1 Reply Last reply
      0
      • D DiWa

        There are unicode types in Oracle, nchar and nvarchar2 are there. You should create database with a unicode - characterset (i.e. AL32UTF8) for better performance and sorting. see also http://www.oracle.com/technology/tech/globalization/index.html

        X Offline
        X Offline
        Xiangyang Liu
        wrote on last edited by
        #3

        Thanks. Is the nchar or nvarchar2 type 16 bit characters?[

        My articles and software tools

        ](http://mysite.verizon.net/XiangYangL/index.htm)

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups