Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

How replacing characters in recordset??

Explorer ,
Aug 15, 2006 Aug 15, 2006
Hi,

I need to replace some special characters, å ä and ö, in a recordset with å ä and ö

How is that done?

Thnaks!!
TOPICS
Server side applications
842
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Explorer , Aug 15, 2006 Aug 15, 2006
Thanks Julian, that just works great now.
Thanks again!!!
Translate
LEGEND ,
Aug 15, 2006 Aug 15, 2006
wavesurfer wrote:
> I need to replace some special characters, ? ? and ?, in a recordset with å ä and ö
>
> How is that done?

It depends which server model you're using. With PHP, pass the recordset
data to htmlentities().

<?php echo htmlentities($row_recordsetName['myVariable']); ?>

--
David Powers
Adobe Community Expert
Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
http://foundationphp.com/
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Aug 15, 2006 Aug 15, 2006
I am using asp. Can it be done then?
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Aug 15, 2006 Aug 15, 2006
wavesurfer wrote:
> I am using asp. Can it be done then?

You need to ask an ASP expert. You get faster, more helpful replies if
you say which server model you're using.

--
David Powers
Adobe Community Expert
Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
http://foundationphp.com/
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Aug 15, 2006 Aug 15, 2006
In ASP, one can use Server.HtmlEncode

--
Jules
http://www.charon.co.uk/charoncart
Charon Cart 3
Shopping Cart Extension for Dreamweaver MX/MX 2004



Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Aug 15, 2006 Aug 15, 2006
Thanks Julian. However I am not so into programming so could you please help further with the code?
Thanks!!!
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Aug 15, 2006 Aug 15, 2006
Server.HtmlEncode is in the list of formats that can be applied to a
recordset field in DW.

--
Jules
http://www.charon.co.uk/charoncart
Charon Cart 3
Shopping Cart Extension for Dreamweaver MX/MX 2004





Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Aug 15, 2006 Aug 15, 2006
LATEST
Thanks Julian, that just works great now.
Thanks again!!!
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Aug 15, 2006 Aug 15, 2006
Screenshot here:

http://www.dmxzone.com/showDetail.asp?TypeId=3&NewsId=2043

--
Jules
http://www.charon.co.uk/charoncart
Charon Cart 3
Shopping Cart Extension for Dreamweaver MX/MX 2004





Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines