Home » SQL & PL/SQL » SQL & PL/SQL » html character to unicode (11g)
html character to unicode [message #648662] Mon, 29 February 2016 01:54 Go to next message
mshrkshl
Messages: 247
Registered: September 2006
Location: New Delhi
Senior Member
convert 100 in thai character to html text like below

หนึ่งร้อยบาทถ้วน

this is opening fine in html as หนึ่งร้อย

now i want to change the same html text into unicode to save the same in database as หนึ่งร้อย

so how to change the html text into unicode ?

what is character set for html text ?
Re: html character to unicode [message #648663 is a reply to message #648662] Mon, 29 February 2016 02:06 Go to previous messageGo to next message
mshrkshl
Messages: 247
Registered: September 2006
Location: New Delhi
Senior Member
Quote:
'หนึ่งร้อยบาทถ้วน'


'3627;3609;3638;3656;3591;3619;3657;3629;3618;3610;3634;3607;3606;3657;3623;3609;'

the above html text is required to be changes into unicode

[Updated on: Mon, 29 February 2016 02:09]

Report message to a moderator

Re: html character to unicode [message #648667 is a reply to message #648663] Mon, 29 February 2016 03:43 Go to previous message
mshrkshl
Messages: 247
Registered: September 2006
Location: New Delhi
Senior Member
have found the help from below link
WITH DATA AS
  (SELECT XMLTYPE ('
  <HTML>
    <HEAD>
      <TITLE> New Document </TITLE>
    </HEAD>
      <BODY>This is for testing that 11>12>13</BODY>
  </HTML>') xml_data
        FROM dual)
SELECT 
  EXTRACTVALUE (xml_data, '//BODY') htmltxt
FROM DATA;

htmltxt
------------------------------------------
This is for testing that 11>12>13


http://www.orafaq.com/forum/t/153387/
Previous Topic: Finding the source of the Company
Next Topic: Not exists with union query-Help
Goto Forum:
  


Current Time: Sat Apr 20 02:24:03 CDT 2024