I just copied a website to a new server (files + db) then I have the exact same php scripts and the exact same db. I have that table :  CREATE TABLE `cours` (   `idcours` int(11) NOT NULL,   `titrecours` varchar(256) NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=utf8;   And that record :  INSERT INTO `creforma_cours` (`idcours`, `titrecours`) VALUES (-1040, 'DÃ©monstration');   The HEX value for DÃ©monstration is 44C383C2A96D6F6E7374726174696F6E (checked in original and new db)  I display that value with php print without any decoding (the php file if in UTF8 no bom). On the original website, it is displayed Démonstration but on the new one it is displayed DÃ©monstration.  How can it be different ? Is there a configuration of php or mariadb-server that can prevent decoding ?
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.
At what age is the Force detectable in children? Why is the sun brighter in Australia compared to parts of Asia? Prove $\gcd(a+b, a-b) = 1$ or $2\,$ if $\,\gcd(a,b) = 1$ I want to show that for $\gcd(a,b) = 1$ $a,b \in Z$   $\gcd(a+b, a-b) = 1$ or $\gcd(a+b, a-b) = 2$ holds.      I think the first step should look something like this:      $d = \gcd(a+b, a-b) = \gcd(2a, a-b)$   From here I tried to proceed with two cases. 1: $a-b$ is even, which leads to $\gcd(a+b, a-b) = 2$ 2: $a-b$ is odd, which leads to $\gcd(a+b, a-b) = 1$  My main problem I think is, that I do not know how I should include $\gcd(a,b) = 1$ in the proof.  Any help is appreciated. Thx in advance. Cherio Woltan Removing the TK icon on a Tkinter window How to remove tkinter icon from title bar in it's window Transposing rows and columns I have a file with the lines like below.  title1:A1 title2:A2 title3:A3 title4:A4 title5:A5  title1:B1 title2:B2 title3:B3 title4:B4 title5:B5  title1:C1 title2:C2 title3:C3 title4:C4 title5:C5  title1:D1 title2:D2 title3:D3 title4:D4 title5:D5  How can I achieve this?   title1    title2     title3    title4 A1         A2         A3         A4 B1         B2         B3         B4 C1         C2         C3         C4 D1         D2         D3         D4 Did your team win the football match yesterday?         The weather was very bad, so we weren't playing.   vs     The weather was very bad, so we didn't play.   Is the first one not correct? Why is it? Can you be tripped by an AoO while standing up? I am working on a git repository with a master branch and another topic branch. I have switched to topic branch and modified a file. Now, if I switched to master branch that same file is shown as modified.   For example:  git status in git-build branch:  # On branch git-build # Changes to be committed: #   (use "git reset HEAD &lt;file&gt;..." to unstage) # #       modified:   cvsup_current #   Switch to master branch  [root@redbull builder_scripts (git-build)]# git co master M       builder_scripts/cvsup_current Switched to branch "master"   git status in master branch  [root@redbull builder_scripts (master)]# git status # On branch master # Changes to be committed: #   (use "git reset HEAD &lt;file&gt;..." to unstage) # #       modified:   cvsup_current #   Why is that the file is shown as modified in master branch even though it was modified in git-build branch?   My understanding was that the branches are independent of each other and when I change from one branch to another the changes do not "spill over" from one branch to another. So I am obviously missing some thing here.   Anyone got a clue stick? I would like to increase the size of pretty much every headlines, so that it is more prominent than the normal text.  I read about the  package, but can't seem to find good example how to use the package.  Using Gonzalo Medina does in fact change the font size, however, it changes the default font as well.  Before:    After: Adding more than 15 digits in Excel I want to add more than 20 digits in an Excel cell.  The current format of the cell is general, it converts the number to an exponential format. I tried with a number format and accounting, but when I enter more than 15 digits it gets converted to 0's.  What are the recommended steps for stopping Excel from converting data to exponential Format for 20 digits when in the general format?     Example: 12345678901234567890   Excel converts it to 1.23457E+19 in general format.  Without using ' before the value, is there any other way to keep value same? The Drupal 8 REST UI configuration page asks me to select Authentication providers for GET method; otherwise, it doesn't allow me to export the REST request.  How can I provide anonymous user to access my REST GET API without providing any auth information? My Ubuntu is running fsck on every bootup How do I remove snap? apt pretends it's not there but I can still call commands with it.  Trying to rm it says "read only file system"  root@tunnel:/# apt remove snap Reading package lists... Done Building dependency tree Reading state information... Done Package 'snap' is not installed, so not removed 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. root@tunnel:/# snap whoami email: - Help with math symbols in BibTeX Best practice when analysing pre-post treatment-control designs Imagine the following common design:   100 participants are randomly allocated to either a treatment or a control group the dependent variable is numeric and measured pre- and post- treatment   Three obvious options for analysing such data are:   Test the group by time interaction effect in mixed ANOVA Do an ANCOVA with condition as the IV and the pre- measure as the covariate and post measure as the DV Do a t-test with condition as the IV and pre-post change scores as the DV   Question:    What is the best way to analyse such data?  Are there reasons to prefer one approach over another? build folder usage issues I am reading separable extension. I don't quite understand why $\text{char} 0$ fields must be perfect. If $F$ is a $\text{char} 0$ field, $f(x)$ is an irreducible polynomial in $F[x]$. Then why $f$ must be separable? Assume $f$ has multiple roots, say $r$ is a multiple root of $f(x)$. Then $r$ is also a root of $f'(x)$. $r$ is in the splitting field of $f(x)$ over $F$, denote it as $E$. Then why $f$ must divide $f'$? I know $f$ is irreducible but I don't know how the argument goes on. Thanks for any help! How to create a timer using tkinter? Do electrons in an electron beam (cathode ray) follow the ? Or in other words, does the Pauli exclusion principle apply for the beam of electrons? Prove or find a counterexample: For all real numbers x and y it holds that x + y is irrational if, and only if, both x and y are irrational. The following is a Homework Question that I've been working on and I would like some feedback on my answer: Prove or find a counterexample: For all real numbers $x$ and $y$ it holds that $x + y$ is irrational if, and only if, both $x$ and $y$ are irrational.  So I've got (or at least like to think I've got) a counter example.  Let $x = 1$ and $y = \sqrt{2}$.   Thus $x$ is rational and $y$ is irrational. Adding $x$ and $y$ gives us $1 + \sqrt{2}$ which cannot be simplified any further (right?) and is an irrational number.  Thereby proving that $x + y$ can be irrational without both x and y being irrational.   Is this okay? Any feedback is greatly appreciated thank you!