On Fri, Dec 11, 2015, at 09:46, elextr wrote:<br>
> > Geany displays each of them as a tiny square with the digits 0 0 0 0 inscribed.<br>
> <br>
> That is a character with the value 0, which should never occur in the<br>
> buffer because it will cause problems.  It may even cause your crashes.  <br>
<br>
If it just were so simple! I checked the source code with a hex editor,<br>
and there are no 0-bytes in the *file*. If Geany has Nullbytes in the<br>
*buffer*, it means that it does something weird when loading the file.<br>
<br>
Two interesting observations here:<br>
<br>
- It could well be that the crashes occured only when one of the tabs<br>
had a file with Japanese text and I had the files created with a<br>
different editor.<br>
- After editing the file with Geany (not touching the Japanese part) and<br>
saving, the saved file contains the correct text and the program<br>
produces the correct output.<br>
<br>
Would it help if I send this file to the developers for inspection? I<br>
can send the file as it is - it doesn't contain any company secrets.<br>
Even if the crashes can't be reproduced, it should be easy to verify the<br>
strange display of the characters. Or, I could try to reproduce the<br>
problem with a smaller file, containing just a few characters (Western<br>
and Japanese mixed). For comparision, it should be sufficient if the<br>
developer opens this file with Geany, and with an editor which displays<br>
the text correctly (I'm using Code::Blocks as my other editor, but most<br>
UTF-8 enabled editors should work well).<br>
<br>
BTW: The file has Unix-Lineendings (0A) ... just in case that this fact<br>
matters.<br>
<br>
Ronald<br>


<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/geany/geany/issues/795#issuecomment-163882173">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJ9t0jdhzT4CqMYI59jLtFpdgTXWsks5pOoqugaJpZM4GytfR.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/geany/geany/issues/795#issuecomment-163882173"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>