Oracle 转义HTML特殊字符
来源:互联网 发布:怎样申请淘宝直播 编辑:程序博客网 时间:2024/05/05 12:23
For example, you can use the htf.escape_sc function:
SQL> select htf.escape_sc('Please escape <this> tag') from dual;HTF.ESCAPE_SC('PLEASEESCAPE<THIS>TAG')------------------------------------------------------------------Please escape <this> tag1. htf.escape_sc
This replaces characters that have special meaning in HTML with their escape sequences. The following characters are converted:
- & to & " to ": < to < > to >
The procedure version of this subprogram does the same thing as htp.prints and htp.ps.
Properties
Definitions
Syntax:
htf.escape_sc(ctext in varchar2) return varchar2;htp.escape_sc(ctext in varchar2);
Parameters:
ctext - the string to convert.
Generates:
The converted string.
2. htf.escape_url
This replaces characters that have special meaning in HTML and HTTP with their escape sequences. The following characters are converted: & to & " to " < to < > to > % to %25
Properties
Definitions
Syntax:
htf.escape_url(p_url in varchar2) return varchar2;
Parameters:
p_url - the string to convert.
Generates:
The converted string.
转载自:https://sites.google.com/site/oracleworkstation/blog/oraclehtfescapesc
- Oracle 转义HTML特殊字符
- html 特殊转义字符
- oracle 特殊字符 转义
- oracle 特殊字符转义
- oracle 特殊字符 转义
- HTML特殊转义字符列表
- HTML特殊转义字符列表
- HTML特殊转义字符列表
- HTML特殊转义字符列表
- HTML中的特殊转义字符
- HTML特殊转义字符列表
- HTML特殊转义字符列表
- HTML特殊转义字符列表
- HTML特殊转义字符列表
- HTML特殊转义字符列表
- html - 常用特殊转义字符
- js html 特殊字符转义
- Oracle特殊字符转义:&和'
- 25个增强iOS应用程序性能的提示和技巧--中级篇
- 查找窗口的几种方法
- uva 10494 大数
- NSObject和反射
- VLC播放器所需的SPS,PPS获取方法
- Oracle 转义HTML特殊字符
- 我的独立面对
- JDBC执行Oracle传入参数为集合对象的存储过程
- 谷歌技术"三宝"之BigTable
- wamp建立多个目录挂多个网站
- 编程中使用的命名习惯
- Delphi 中的常用事件
- Kissyui 结合spring mvc上传图片功能
- Qt 平常遇到之后自己搜索一些东西的集合(3)