0 Replies Latest reply: May 14, 2013 8:13 AM by Steve42 RSS

    Special Characters Chr(189) and characterset NOT display correctly on page

    Steve42
      I was asked to post this in this forum( hopefully this is the correct forum).

      I have special character 1/2 stored in the database( Select chr(189) aname from dual; )
      I read ( using PL/SQL ) the special characters from a text file and insert into a table.

      Select dline from mytable( I can see the 1/2 in the table. )

      Problem is I cannot get the 1/2 to display on a web page. Instead it shows up as "A?"

      How can I get the special characters (ie > 127) to display correctly on the web page?

      I'm using classic ASP.
      I have set
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

      I have tried doing a convert( I tried several ways, below is just 1 example)

      mySql="Select convert(dline,'WE8ISO8859P15','WE8MSWIN1252') dline from mytable"

      My version:
      Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Prod
      PL/SQL Release 10.2.0.4.0 - Production
      "CORE 10.2.0.4.0 Production"
      TNS for 32-bit Windows: Version 10.2.0.4.0 - Production
      NLSRTL Version 10.2.0.4.0 - Production

      My Characterset:
      -- NLS_CHARACTERSET WE8MSWIN1252
      -- NLS_NCHAR_CHARACTERSET AL16UTF16


      NLS_LANGUAGE AMERICAN
      NLS_TERRITORY AMERICA
      NLS_CURRENCY $
      NLS_ISO_CURRENCY AMERICA
      NLS_NUMERIC_CHARACTERS .,
      NLS_CHARACTERSET WE8MSWIN1252
      NLS_CALENDAR GREGORIAN
      NLS_DATE_FORMAT DD-MON-RR
      NLS_DATE_LANGUAGE AMERICAN
      NLS_SORT BINARY
      NLS_TIME_FORMAT HH.MI.SSXFF AM
      NLS_TIMESTAMP_FORMAT DD-MON-RR HH.MI.SSXFF AM
      NLS_TIME_TZ_FORMAT HH.MI.SSXFF AM TZR
      NLS_TIMESTAMP_TZ_FORMAT DD-MON-RR HH.MI.SSXFF AM TZR
      NLS_DUAL_CURRENCY $
      NLS_COMP BINARY
      NLS_LENGTH_SEMANTICS BYTE
      NLS_NCHAR_CHARACTERSET AL16UTF16
      NLS_NCHAR_CONV_EXCP FALSE
      NLS_RDBMS_VERSION 10.2.0.4.0

      TIA
      Steve42

      Edited by: Steve42 on May 13, 2013 3:19 PM