Converted Mapinfo file (originally in Chinese) to SHP but the attributes are jumbled/wrong I converted a set of MapInfo files to SHP using . Unfortunately, the attributes got jumbled. The original dataset was in Chinese, so that is probably contributing to the jumbling. Screenshot below shows jumbles.  I uploaded the source Mapinfo files to filebin , and I uploaded the converted SHP to filebin .  Is there anyway to recover the jumbled attributes? I have opened SHP in ArcGIS with Chinese characters in the attributes before, so it's not solely a language character rendering issue.
Change Shapefile data source encoding? I tried to change the only the shapefile datasource encoding through properties and also  but it doesn't change it.   Without saving the QGIS project can't I directly change the shapefile datasource encoding?  I also tried this code, it shows change encoding but as I open the shapefile again it show the same old system encoding:  for layer in QgsMapLayerRegistry.instance().mapLayers().values():     layer.setProviderEncoding(u'UTF-8')     layer.dataProvider().setEncoding(u'UTF-8')     print layer.name(), layer.dataProvider().encoding()     (I am not saving QGIS project, just accessing and saving shapefile directly. When I save the project and do this task then it work correctly)
I have a set of polygons representing administrative districts.  The districts were digitized by hand, and there are small spaces (slivers) between polygons where the polygons should be touching. How can I have the polygons snap together, removing the spaces? I believe that the set of all $\mathbb{R\to R}$ continuous functions is $\mathfrak c$, the . However, I read in the book &quot;Metric spaces&quot; by Ó Searcóid that set of all $[0, 1]\to\mathbb{R}$ continuous functions is greater than $\mathfrak c$:  &quot;It is demonstrated in many textbooks that $\mathbb{Q}$ is countable, that $\mathbb{R}$ is uncountable, that every non-degenerate interval is uncountable, that the collection of continuous functions deﬁned on  $[0,1]$ is of a greater cardinality than $\mathbb{R}$, and that there are sets of greater and greater cardinality.&quot;  I understand that (via composition with the continuous function $\tan$ or $\arctan$) these sets of continuous functions have the same cardinality. Therefore, which claim is correct, and how do I prove this? Hotspot and Internet access together — why not? If I try to set up a hotspot in GNOME, I get the following message:  If you have a connection to the Internet other than wireless, you can use it to share your internet connection with others. Switching on the wireless hotspot will disconnect you from &lt;network name&gt;. It is not possible to access the internet through your wireless while the hotspot is active.  What are the technical reasons why I can't set up an Hotspot and be connected to the Internet at the same time? Parallel universe: in every universe, you are presented with a different decision. Does that mean there are an infinite amount of parallel universes? I.e., if in one universe I choose to go left, I am then presented with different choices vs if i choose right, and that creates more universes with more decisions to be made.  Or does it mean that in the end of one's life we end up in the same place, meaning that its just one parallel universe that eventually collides with the other. Why is there "Germany National Team", not "German National Team"? Why is the team from Germany called "Germany National Team", not "German National Team"? On official Internet sites, it is the same for every official national team; Germany National, France National, Poland National, Russia National etc. etc. What truthfully bothers me is why not German, French, Polish, Russian etc? Natbib puts reference data one line per item I'm using:  \documentclass[oneside,article,openbib,12pt,titlepage]{memoir} \usepackage[authoryear,round]{natbib} % Better bibliography support \bibpunct{(}{)}{,}{a}{,}{,}   in the preamble of my document and  \backmatter \renewcommand{\bibname}{References} \bibliographystyle{chicago}    \bibliography{listb,mybib}   in the body of the file. But a typical formatted reference is:     Freely, I. (1997).   A small paper.   The journal of small papers -1. to appear.   I've tried other non-natbib styles (e.g., regstud), and the reference flows and wraps as it should. So how does one get natbib to do the same?  Also, how does one get natbib to include the authors' entire first names? Plot Summary/Details  A human spacecraft lands on an alien world.  I'm not sure if they are exploring, or touched down for repairs. The world is a foreboding place, and home to a vicious predator that somewhat resembles a panther, or other big terrestrial cat. The creature is quite cunning, and ambushes several crewmen when they are scouting the planet or doing some other activity that would have them isolated and away from the ship. It sticks in my mind the creature is very strong, and able to bite through the heavy spacesuits the men wear with ease.  The creature has an unusual nutritional requirement of some sort. As such, it doesn't eat its victims, but somehow drains them of a particular element or chemical substance. I can't remember what it is, though I think it had something to do with the skeletal structure of the men. Calcium, maybe?  I have only very general recollections of how the story ends/is resolved. The humans become aware of the threat, and I believe they ultimately slay the beast. I can't recall anything more specific than that, unfortunately.  Timeframe of Publication  This one is old, I'm sure of that. I can remember the writing style and some of the descriptions being very "old school" - spacemen, rocketship, that sort of thing. Almost like something you'd see in an old sci-fi movie serial, to use a film analogy. If I had to guess, I'd say 1950's at the latest. $F$ closed and connected then... Let $F\subset X$ be a closed and connected subset of the metric space $(X,d)$ then for every pair of points $a, b\in F$ and each $\epsilon&gt;0$ there are points $a=z_0,z_1,\ldots z_n=b$ in $F$ such that $d(z_{k-1}-z_k)&lt;\epsilon$ for $1\leq k\leq n$.  Is the hypothesis that $F$ is closed needed? When we measure the speed of a moving element we do it with the help of a reference frame. Now if we need to measure the speed of time, is it possible? Does time actually have a speed? Why is the gate charge curve (Miller plateau) of MOSFETs dependent on Vds? Prove that a continuous function on a closed interval attains a maximum Is Java viable for serious game development? Customized prompt does not hold when a child bash is ran I have been learning bash, and while doing so I played around with the .bash_profile file to be able to put greeting messages etc. Later I just removed these changes. But after doing that my default configuration of prompt got lost: originally, the prompt was all in bold, and \w part was blue so that when I was in a deeply nested directory the prompt would not seem so entangled. I think that was the default for Ubuntu (correct me if i'm wrong), however like  I said it got lost and my prompt was non-bold and monochromatic resulting in a mess when I'm in long named directories.  So, last night I tried customizing my prompt in the fashion I mentioned above. It worked well after I added the code to .bash_profile  Code was like this:  export PS1="\[$(tput bold)\]\u@\h:\[$(tput sgr 0)\]\e[1;34m\w$ \e[m"   However if I try to run another bash shell in the current one, the prompt becomes unformatted:    Is that normal? Isn't the whole point of exporting a variable to make it accessible from all the child processes forked from that shell? Why it doesn't that apply to this situation? Suppose that I have a group $G$ of order $p^{2}q$ for two distinct primes $p$ and $q$.  I need to first show that one of its Sylow subgroups is normal.  I start by letting $H$ be a Sylow $p$-subgroup and $K$ be a Sylow $q$-subgroup.  If $K$ is not normal, then letting $r$ denote the number of Sylow $q$-subgroups, I have that $r|p^{2}$ and $r\equiv 1$(mod $q$).  I also have by the second Sylow theorem that $r\neq 1$.  So $r = p$ or $p^{2}$.  If $r = p^{2}$, I can write out the Sylow $q$-subgroups, and count their combined elements to show that $H$ is uniquely determined and then again imply Sylow number $2$ to obtain that $H$ is normal.  But if $r = p$, then I cannot see how to proceed.  Can anyone give any advice?  Thank you.  ( I am happy to provide more detail for the $r = p^{2}$ case if it is desired or appropriate. ) remove locked by android device manager message I have played with Android device manager and I have blocked my phone. I have deblocked but everytime my phone enters into standyby it apears me the message "locked by android device manager" and I have to enter the password again.  Do you know how to remove this message? How to prove sum of powers property of roots of unity? We know that $1+\alpha_1+\alpha_2+...+\alpha_{n-1}=0$ where $\alpha_i$ are the roots of $z^n=1$. How can I prove that: $$1+\sum_{i=1}^{n-1}\alpha_i^m=\begin{cases}0\quad m\in Z,m\not\equiv0\pmod n\\n\quad m\in Z,m\equiv0\pmod n\\\end{cases}$$ proving the inequality $\triangle\leq \frac{1}{4}\sqrt{(a+b+c)\cdot abc}$ Turning live() into on() in jQuery I would like to protect the formatting of a cell (or a range of cells) in a Google Spreadsheet, but still allow changing the data in that (or those) cell(s).  For example, I want to add a validation rule on a cell that says the cell has to contain a number between 1 and 10, and I would like others to be able to change the value in that cell, but not the validation rule itself.  How do I do that?  So far I was only able to completely protect the cell (content + formatting) or not at all (the user can change the content as well as the formatting).  To me this seems to be an important functionality when adding access rights to spreadsheets. Is it possible that it is completely missing from Google Spreadsheets? Prove by induction that for all $n \ge 0$:  $${n \choose 0} + {n \choose 1} + ... + {n \choose n} = 2^n.$$  In the inductive step, use Pascal’s identity, which is:  $${n+1 \choose k} = {n \choose k-1} + {n \choose k}.$$  I can only prove it using the binomial theorem, not induction.