# How to keep special charcter when saving into mysql - php

**URL:** https://forum.kirupa.com/t/how-to-keep-special-charcter-when-saving-into-mysql-php/325734
**Category:** programming
**Created:** [November 2, 2011, 11:48am UTC](https://forum.kirupa.com/t/how-to-keep-special-charcter-when-saving-into-mysql-php/325734 "2011-11-02T11:48:23Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![jerome\_chevreau](https://avatars.discourse-cdn.com/v4/letter/j/53a042/32.png) [@jerome\_chevreau](https://forum.kirupa.com/u/jerome_chevreau)
#### Post date: [November 2, 2011, 11:48am UTC](https://forum.kirupa.com/t/how-to-keep-special-charcter-when-saving-into-mysql-php/325734/1 "2011-11-02T11:48:23Z")

</div>

Hi there,

I am developing my own newsletter which will allow me to upload my html file and keep it into my db until i am ready send.

I have a problem when it comes to special characters such as “copy character or some quote from word”.  
I found a way to save the content by using “utf8\_encode” but it strips out the characters.

Any idea how can i keep all my charcters and be able to save it??

Thanks for any help,

Regards,

Jerome
