List:General Discussion« Previous MessageNext Message »
From:Egor Egorov Date:November 9 2002 4:27pm
Subject:re: escape character
View as plain text  
Daya,
Saturday, November 09, 2002, 2:28:07 PM, you wrote:

DKD> Hi can anybody tell me how can i insert rtf data in my sql, since it
DKD> contains escape characters
DKD> like this

DKD> {\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fnil\fcharset0
DKD> Verdana;}{\f1\fnil\fcharset2 Webdings;}{\f2\fnil\fcharset0 MS Sans Serif;}}
DKD> {\colortbl ;\red0\green0\blue0;\red0\green0\blue255;}
DKD> \viewkind4\uc1\pard\cf1\b\f0\fs20 SanjivnullKapila\b0\f1\fs24 4\cf2\f2\fs17
DKD> 455
DKD> \par \pard  }

DKD> So it deletes the characters \r and \b. Column type is text.

You need to escape characters:
    http://www.mysql.com/doc/en/String_syntax.html



-- 
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.net http://www.ensita.net/
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /    Egor Egorov
 / /|_/ / // /\ \/ /_/ / /__   Egor.Egorov@stripped
/_/  /_/\_, /___/\___\_\___/   MySQL AB / Ensita.net
       <___/   www.mysql.com



Thread
escape characterDaya Krishan Dubey9 Nov
  • re: escape characterEgor Egorov9 Nov