MySQL Forums
Forum List  »  Stored Procedures

Re: MySQL function to search and replace HTML Entities with international characters
Posted by: Charlie Armor
Date: February 10, 2009 02:45AM

Whoops, note there's an error in the REGEXP used to test for the presence of an HTML Entity, it should be:

SELECT
deliveryReference AS Reference,
# Test for accented characters
CASE WHEN O.deliveryName REGEXP '&*;'
THEN HTML_UnEncode(O.deliveryName)
ELSE O.deliveryName END AS Contact,

.......

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: MySQL function to search and replace HTML Entities with international characters
5152
February 10, 2009 02:45AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.