special characters replaced with? Hello everyone I'm having problems with missing characters in my code, tried to use some things with utf-8 but didnt worked. the entire site is on php but the rest is working fine just this page that is having this problem.   &lt;?php       $tipo =$_GET["tipo"];        $conexao = mysqli_connect("127.0.0.1","root","","db_tcc") or die ("Não foi possível se conectar com o servidor.");       $varsql = "SELECT * FROM tb_guias WHERE TIPO=$tipo ORDER BY id ASC";       $carregar_guias = mysqli_query($conexao, $varsql);           while ($linha = mysqli_fetch_array($carregar_guias))       {         $titulo = $linha["TITULO"];         $blob1 = $linha["IMG1"];         $blob2 = $linha["IMG2"];         $blob3 = $linha["IMG3"];         $texto = $linha["TEXTO"];          $img1 = imagecreatefromstring($blob1);           ob_start();          imagejpeg($img1, null, 80);         $data1 = ob_get_contents();         ob_end_clean();        $img2 = imagecreatefromstring($blob2);         ob_start();        imagejpeg($img2, null, 80);       $data2 = ob_get_contents();       ob_end_clean();        $img3 = imagecreatefromstring($blob3);         ob_start();        imagejpeg($img3, null, 80);       $data3 = ob_get_contents();       ob_end_clean();           echo "&lt;div class='loc'&gt;&lt;table class='tablel'&gt;&lt;tr&gt;&lt;td colspan='3'&gt;$titulo&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;";         echo '&lt;img  src="data:image/jpg;base64,' .  base64_encode($data1)  . '" class="imag"  /&gt;';        echo"&lt;/td&gt;&lt;td&gt;";        echo '&lt;img  src="data:image/jpg;base64,' .  base64_encode($data2)  . '" class="imag"  /&gt;';        echo"&lt;/td&gt;&lt;td&gt;";        echo '&lt;img  src="data:image/jpg;base64,' .  base64_encode($data3)  . '" class="imag"  /&gt;';        echo "&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td colspan='3'&gt;$texto&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/div&gt;";         echo "&lt;br&gt;&lt;hr&gt;&lt;br&gt;";        }     ?&gt;
UTF-8 all the way through I'm setting up a new server and want to support UTF-8 fully in my web application. I have tried this in the past on existing servers and always seem to end up having to fall back to ISO-8859-1.  Where exactly do I need to set the encoding/charsets? I'm aware that I need to configure Apache, MySQL, and PHP to do this — is there some standard checklist I can follow, or perhaps troubleshoot where the mismatches occur?  This is for a new Linux server, running MySQL 5, PHP, 5 and Apache 2.
The equivalence of open-set definition of continuous mappings to the $\epsilon-\delta$ definition What is a decoupling capacitor and how do I know if I need one? What is a decoupling capacitor (or smoothing capacitor as referred to in the link below)?  How do I know if I need one and if so, what size and where it needs to go?    mentions many chips needing one between VCC and GND; how do I know if a specific chip is one?   Would an  4-bit parallel access shift register used with an Arduino need one? (To use my current project as an example) Why or why not?  I feel like I'm starting to understand the basics of resistors and some places they're used, what values should be used in said places, etc, and I'd like to understand capacitors at the basic level as well. INSERT takes over 5 hours, when inserting more than specific number of rows When inserting less then about 1,350,000 rows to the table it all takes about 2 minutes, however when number of inserted rows is bigger, then the time needed to insert data grows to about 5 hours.  The problem is not connected with query or indexes, because everything has been working fine for a long time and nothing has changed in the structure of query, tables or indexes.   Problem appeared for the first time about 2 weeks ago and it appears repeatedly on days, when number of inserted rows is bigger than +-1,350,000. For example on one day number of inserted rows is 1,200,000 and the process takes 2 minutes, on the other day number of rows is 1,450,000 and it takes 5-6 hours to insert data.  I tried to rebuild indexes, but it has not helped. Will a bullet dropped and a bullet fired from a gun horizontally REALLY hit the ground at the same time when air drag is taken into account? When are "because", "since","for" and "as" interchangeable? I am not a native speaker. On a previous question of mine, I thanked for an answer by saying:     So the phrase is not an idiom, since it is applied in its literal sense.   I consciously chose since over because, because — well, I like that usage of since, even though I know that some (native speakers) don't like it. Nonetheless, that choice got me thinking for a while, and it occurred to me that I even could have used more alternatives, namely as or for, without changing the meaning.   So, on a general note, here are the alternatives:        Statement A (is true), because statement B (is true).   Statement A (is true), since statement B (is true).   Statement A (is true), as statement B (is true).   Statement A (is true), for statement B (is true).      Are these completely interchangeable? Or interchangeable in certain situations? Or can you point out any (not-so-)subtle differences between any of them? Are there even more synonyms? I'm trying to use biblatex and when I compile my document I get an error like the following:  Windows  data source C:\Users\&lt;username&gt;\AppData\Local\Temp\par-5061756c\ cache-890efc00b3ca6b775c7d44a325c1349fb2a3a3bd\inc\lib/Biber/LaTeX/recode_data.xml not found in .   Mac  data source /var/folders/v2/rld0ls7d2935gkvqv5hfr1x00000gn/T/par-616c616e/ cache-cdd483146f82a9655ce063f848d5139480fbf872/inc/lib/Biber/LaTeX/recode_data.xml not found in .   Linux  data source /tmp/par-6963617269756d/cache-f37ab610b7d79b2720a8ee3732849c6821705520 /inc/lib/Biber/LaTeX/recode_data.xml not found in . How can we recover the Newtonian gravitational potential from the metric of general relativity? I want to hit enemy's axe to break it. How this is properly played in D&amp;D 5e? And what about shield or armor? Can I attack these items to break it? When do I use "I" instead of "me?" Let $G$ be a finite abelian group s.t. it contains a subgroup $H_{0} \neq (e)$ which lies in every subgroup $H \neq (e) $. Prove that $G$ must be cyclic.   Also what can be said about $o(G)$ ?    I'm clueless about this problem from Herstein. I tried to think $G$ might be a solvable group and its subgroups are all normal (as $G$ is abelian) . But I'm unable to get further. How do I install Chromium from the command line? I have already tried using the Ubuntu Software Center, but it won't install the Chromium browser. How can I install it using the terminal? Postgres : Relation does not exist error How can I re-enable backspace navigation in Chrome? How can I get maximum DoF with no distance markers? I am aware of what hyperfocal distance is and the general principles behind it. However, most of the tutorials I have seen and read regarding it make use of lenses with focus distance indicators. Unfortunately, neither of my lenses (Nikkor 18-55mm &amp; 35mm f1.8) have indicators.  I have read that you can 'cheat' and simply focus a third of the way into the shot (which I have done previously simply by spot-focusing on the lowest focus point in my VF). I also assume you could pace out the distance and note an object to focus on when you get back to the camera (though that might be easier said than done).  Does anyone have any suggestions on how to achieve maximum sharpness from front to back without focus distance markers. A new lens is not an option; global economic crisis and all that! How can I avoid SQL injection attacks in my ASP.NET application? I need to avoid being vulnerable to SQL injection in my ASP.NET application. How might I accomplish this? I co signed on a bank loan to finance the purchase of a car for my brother in Florida.  Only his name is on title, registration and insurance policy. Would I be liable and can I be sued by another person if he were in an accident? Use bibliography numbers and citation from other file This question led to a new package:      I want to reference to citations from other file. Similar to what xr package does to labels, but I want to apply it for the bibliography.  If I'm able to do \cite{someone} in the main file, and it creates let say the number [4], I want to do the same \cite{someone} in a second file, and also create the same number [4]. Similar to what xr does with the labels.  By the way, I tried to add the main.bbl file from the main file. However, that adds all the references to the end of the second file. I want to avoid this.  Is there any package that accomplish this? Is it legal to add your publications to ResearchGate? I recently created a profile on . And to add your publications list it requires you to upload the paper. Is it legal to upload published journal articles on public servers, where everyone can download it for free? We need a profanity filter I searched SE.Meta and was unable to find such question.  Someone just swore at us in a  as an  (warning: profanity, may be NSFW), sure, Arqade (profanity in phrases in games) or some SE (ELU, ELL or Anime.SE maybe?) can sometimes contain profanity as a small parts of question.  I think that a part should be added to the review system that will automatically hide questions/answers with profanity, just like the close vote system, the question/answer will be on hold and will be voted to be shown or be deleted.  Tip, if this gets implemented, u can be typed as \/ or v, and most other can be written as leet (l = 1 etc). Maybe it can be called "suspicious activity", and can be triggered when there is too many number or Unicode characters. (I can write hi as |-| |, |-|I, |-|l, l-li, hî, 1-1i, H1 and many more) I would like to draw an arrow like this using TikZ:    This is taken from . I didn't succeed in reproducing the arrow; is somewhat beyond my (extremely limited) TikZ abilities. I don't need all the workflow stuff. I simply want to draw such an arrow at a certain place in my text, e.g. -->  \documentclass{article} \usepackage{&lt;???&gt;} \usepackage{tikz} \usetikzlibrary{&lt;???&gt;} \begin{document} Donec vehicula augue eu neque. Pellentesque habitant morbi \tikz &lt;???code for the arrow???&gt; ; tristique senectus et netus \end{document}   PS: Some explanations in your solution would be much appreciated, otherwise it will be difficult to customize it.