I have a problem with sending mail from php code. I want to use polish characters in email message. I searched many post on stack with the same problem but nothing works.  &lt;?php if(isset($_POST['submit'])){  $to = "...@gmail.com";  $from = $_POST['email'];  $name = $_POST['name'];  $phone = $_POST['phone'];  $subject = "Wiadomość ze strony";  $message = "Imię i Nazwisko: " . $name . "\nTelefon kontaktowy: " . $phone . "\n\nTreść wiadomości:" . "\n\n" . $_POST['msg'];   $headers = "From: $from \r\n".              "MIME-Version: 1.0" . "\r\n" .              "Content-type: text/html; charset=UTF-8" . "\r\n";   mail($to,$subject,$message,$headers);  header('Location: index.html'); } ?&gt;   I have asked my friend to check on his vps and this code work correctly. So there must be a problem with server. I use linuxpl.com.  I found the solution. Polish characters work fine when I added this line in html form.  accept-charset="ISO-8859-1"
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.
Proving a Lipschitz function is continuous A function $f:D\subset \mathbb R \to \mathbb R$  is lipschitz given that there exists a $L\gt0$ such that $|f(x)-f(y)|\le L|x-y|$  I need to prove this function is then continuous. Is there a best definition of continuous functions to use for this proof given the definition of Lipschitz?  Is the epsilon delta way the only way to do it? can someone help me set it up? I really struggle with implementing that definition. Is there are rule when to use opened vs open?  I always get confused even though I've been speaking English as the dominant language for more than half my life.  E.g.         Is the door open(ed)?   Which file do you have open(ed) in your editor? Does anyone know how to get your business map location displayed in the right hand sidebar of the Google search results page? As in the screenshot below:      I already added my business to this link: .  Is adding detail in above link enough or do I need to change my website coding? SPWeb.getFile(Url) exception : value does not fall within the expected range I've recently installed pgAdmin 1.18.1 and noticed a strange thing:  Long json query results are shortened to 256 symbols and then ' (...)' is added.  Could someone help me disable this shortening? Is it possible to install Office 365 (2013) on Ubuntu 15.04 Vivid Vervet? I would like to install Office 2015/365 on Ubuntu 15.04. I tried to install Office using Wine, but that did not work. Please note that I do not want virtualisation unless it has a -like behaviour, where application windows are treated like regular Ubuntu application windows by the system. Suspend process without killing it So I've got a persistent program running in the background. Killing it just causes it to restart with a different PID. I'd like to suspend it (put it to sleep without actually killing it). Does kill -9 do this? If not, how should this be done? How to select the most recent set of dated records from a mysql table How can I make schematic of this board? I want to make a schematic of this board. Can anyone tell me how? How to take the gradient of the quadratic form? Is it possible to create individual power settings for each hard drive? I have a number of different drives that I use for different purposes but I only use two of them frequently. I would like for the others to enter sleep mode when not in use, but never my main two.  Is there any way to edit power saving settings for individual drives? Reviewing suggested edit of own post after completing 20 reviews I've completed 20 suggested edits reviews today. Then, I came across a  and I approved it.   Then, I had a doubt that whether the review count has incremented or not, oh! it's not incrementing. System works fine.  But, take a look at review page,     The edit was already reviewed by one reviewer and then I reviewed it. As I'm the Owner of the post it's enough to approve the edit. But, the review history doesn't show the detail that I had approved it. It's misleading that only one vote of a reviewer who is neither the community user nor the OP nor the moderator, is enough.  So, what should we do in this type of situation?  Is it correct to make OP to review the suggested edit after completing daily limit?  Should we need to display/hide the OP has approved the edit in the review history? Which manga chapter correspond to the end of episode 12 of season 2 of the anime? Use of 'const' for function parameters Does construction of a Lightsaber require use of the Force? It's true that Lightsaber construction is a mandatory skill for a trained Force user, but I am not sure about it in reverse.  @DVK has commented on  that:     Grievous wasn't a Jedi (or a Force Sensitive) at all. He couldn't construct one.   I always thought that a Lightsaber was a normal piece of technology which even non-Force users could construct, and you only need Force sensitivity to master  Lightsaber skills. But, I could be wrong.  Does construction of a Lightsaber require use of the Force? If yes, what role does the Force play in the construction of a Lightsaber? How can I figure out what's slowly eating my HD space? Every few days I get notices on my MacBook that it's running or run out of hard drive space. Curiously, restarting the computer will enable me to recover gigabytes of space (this past time, it was able to recover about 2.2GB). However, I can't identify anything in my personal activity that consumed that space.  It's possible that it's a rogue iTunes podcast or a huge software update that my Mac is automatically downloading - would either of these reclaim the space upon a restart?  One possibility that I can think of is that FileVault has some sort of disk leak, allocating but not freeing files. Does this make sense? Is there a tool that I can run to determine where this space is going? Assuming it is FileVault, should I try to disable it? What's the best way to turn of FileVault on a nearly full computer? Going back twice required to return to search results in the tags view Idea behind proof that $\frac{21n+4}{14n+3}$ is irreducible for all $n$ I have a proof of $\frac{21n+4}{14n+3}$ being an irreducible fraction for any positive integer $n$. The proof starts with the following: Indeed, from the equality: $$2(21n+4)-3(14n+3)=-1$$ and so on..But how does this equality follow from the fraction? What is the meaning of this "let there be light" joke? Since a few months, on one of the desktop Ubuntu 14.04 systems I use, CPU has regularly been going up to 80-100% for no apparent reason. htop would usually attribute responsability to file system processes, such as nemo or ntfs. To get CPU back down I would kill these process, which in some cases would lead to loss of access to the file system and a consequent restart.  Days ago I noticed that whenever this situation happened another process was always present also using high CPU: mediascanner-service-2.0. Some research lead me to  that simply advised its removal. So I did.  The end result has been unexpectedly positive: not only are the high CPU load episodes gone, the system is altogether much faster. The speed up of the Lens is dramatic: finding an application like Calc now takes 2 seconds at most when previously it took some 20 seconds. Finding a file takes now some 5 seconds, whereas before it took in the order of 30 seconds. Heavy programmes like Eclipse are starting up faster and workspaces are more fluid. There seems to be also an overall reduction in the frequency of disk access.  What is exactly this mediascanner2.0 package? Is it part of Unity 7 or a dependency that gets installed a posteriori? Is it possible to prevent its installation?  Update: following  it is possible to track this package down to indicator-session:  $ sudo aptitude why mediascanner2.0 i   indicator-session         Recommends indicator-applet (&gt;= 0.2) | indicator-renderer i A unity8                    Provides   indicator-renderer                             i A unity8                    Recommends unity-scope-mediascanner2                      pi  unity-scope-mediascanner2 Depends    mediascanner2.0                                  Apparently, mediascanner2.0 (and the Unity 8 shell) are part of the base 14.04 system. Left to answer is the exact function of this rogue package.