[eluser]Clooner[/eluser]
I'm trying to wrap my head around this but I don't seem to grasp the concept.
Input from a form (utf-8) on a html 5(utf-8) page gets posted to a ci project (utf-8) then when I insert an & symbol it get's posted correctly and I encode the html entities so I can show them on my website. Then if I do exactly the same thing with an currency symbol e.g. € the input get's deleted!. I found the input get's deleted in the utf-8 class(uni) in the function clean_string. Now I'm thinking my input is crooked. How can I make sure I post using utf-8?
form and html header code
Code:
<!DOCTYPE HTML>
<html>
<head>
<title>Title goes here!</title>
<meta charset="UTF-8" />
Code:
<form action="http://localhost/edit/1" method="post" accept-charset="utf-8" id="edit_form">