From: Jeff D. <da...@da...> - 2002-10-28 15:19:03
|
> Thank you! NP. > While we are on this subject, could I trouble you for > advice on how to insert the control character \xff > directly into the MySQL database via the command line? > I tried inserting '\\xff' but that just inserts the actual > string, doesn't it... Reading the mysql docs, the only way I could figure to generate '\xff' is CHAR(255) (which you would then need to CONCAT() with other strings if you wanted to make a string longer than one character.) See: http://www.mysql.com/doc/en/String_functions.html#IDX1161 That said, I don't see why you would want to insert \xff's into the MySQL database. Since '\xff' isn't valid within UTF-8 strings, I think that will just break things more than they are already broken. > ... but that string is not being highlighted > when it turns up in a different location ... Yes, it sounds like you figured it out. Strings are not "hilit" (or "linkified") based on whether they exist as pages or not; rather whether they are hilit depends on whether they match certain regexps. In the wiki tradition CamelCase words (multiple capitalized words run together with no spaces) are what normally gets linkified --- and square brackets can be used to "force" linkification of anything that doesn't match the CamelCase pattern. Jeff PS: From the "it's no big deal, but you might like to know" department: Your ISP won't allow me to send e-mail directly to you Tony. My mail server runs on an AT&T cable modem connection --- apparently, as an anti-spam measure, your ISP blocks mail from all such hosts. This is the first time I've encountered such a restriction... |