<div dir="ltr"><div dir="ltr"><div>Hi Frank, <br></div><div><br></div><div>Maybe I do not get what you mean, but changing the encoding for the psmap file and the running ps.map with the newly saved file helped me with special characters in Spanish such as accent and ñ. That's what we use ps.map for, no? Or what do you mean then?</div><div><br></div><div>Cheers,</div><div>Vero<br></div></div></div><br><div class="gmail_quote"><div dir="ltr">El jue., 3 ene. 2019 a las 12:43, Frank David (<<a href="mailto:frank.david@geophom.fr">frank.david@geophom.fr</a>>) escribió:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div bgcolor="#FFFFFF">
<p>Hi Vero,</p>
<p>Ok for updating.</p>
<p>Concerning the problem of special character in units (kilometer)
scale bar, we already had a post about that, and encoding in
ISO-8859-1 does not change anything about that (but solve the
problem in text string from user). I think the problem comes from
grass code...<br>
</p>
<p>I met the same problem with v.label.</p>
<p>Cheers,</p>
<p>Frank<br>
</p>
<div class="gmail-m_6915240522334514746moz-cite-prefix">Le 03/01/2019 à 12:16, Veronica Andreo
a écrit :<br>
</div>
<blockquote type="cite">
<div dir="auto">Hi Frank,
<div dir="auto"><br>
</div>
<div dir="auto">Good that you solved it :)</div>
<div dir="auto"><br>
</div>
<div dir="auto">In any case, I would recommend you to update
your grass version. There have been quite some changes since
August last year in trunk (Dev version).<br>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">Moreover, I think the ps.map issue could be
solved by saving the psmap instructions with a different
encoding, no need to change language because of that. Check
the last paragraph under Notes in the manual [0].</div>
<div dir="auto"><br>
</div>
<div dir="auto">HTH,</div>
<div dir="auto">Vero</div>
<div dir="auto"><br>
</div>
<div dir="auto">[0] <a href="https://grass.osgeo.org/grass77/manuals/ps.map.html" target="_blank">https://grass.osgeo.org/grass77/manuals/ps.map.html</a></div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr">El jue., 3 ene. 2019 6:45, Frank David <<a href="mailto:frank.david@geophom.fr" rel="noreferrer" target="_blank">frank.david@geophom.fr</a>>
escribió:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div bgcolor="#FFFFFF">
<p>Hi Markus,</p>
<p><br>
</p>
<blockquote type="cite">
<div dir="auto">
<div>Hi Frank,
<div dir="auto"><br>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr">Am Mi., 2. Jan. 2019, 16:56 hat Frank
David <<a href="mailto:frank.david@geophom.fr" rel="noreferrer noreferrer" target="_blank">frank.david@geophom.fr</a>>
geschrieben:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello
all,<br>
<br>
I wish a very nice year to every GRASS user and
also for GRASS <br>
developments !<br>
</blockquote>
</div>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">Happy New Year!</div>
<div dir="auto"><br>
</div>
<div dir="auto">
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
I met a decoding problem with "v.db.select
map=my_vector <br>
columns=my_name" when GRASS meet some special
characters in the string <br>
of my_name field. The string value is "Côte de la
Bouchère".<br>
<br>
See below the error message :<br>
<br>
Traceback (most recent call last):<br>
File<br>
"/usr/local/grass-7.5.svn/gui/wxpython/gui_core/goutput.py",<br>
line 472, in OnCmdOutput<br>
<br>
self.cmdOutput.AddStyledMessage(message, type)<br>
File<br>
"/usr/local/grass-7.5.svn/gui/wxpython/gui_core/goutput.py",<br>
line 771, in AddStyledMessage<br>
<br>
self.AddTextWrapped(message, wrap=None)<br>
File<br>
"/usr/local/grass-7.5.svn/gui/wxpython/gui_core/goutput.py",<br>
line 722, in AddTextWrapped<br>
<br>
self.AddText(txt)<br>
File "/usr/lib/python2.7/dist-<br>
packages/wx-3.0-gtk2/wx/stc.py", line 2041, in
AddText<br>
<br>
return _stc.StyledTextCtrl_AddText(*args,
**kwargs)<br>
UnicodeDecodeError<br>
:<br>
'ascii' codec can't decode byte 0xc3 in position
1: ordinal<br>
not in range(128)<br>
(Wed Jan 2 16:40:24 2019) Command finished (0
sec)<br>
<br>
Is there anybody who know how I can solve this ?
(with GRASS v7.5 on <br>
debian9)<br>
</blockquote>
</div>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">Could you please send the precise
version? It looks a bit dated. </div>
<div dir="auto"><br>
</div>
<div dir="auto">g.version -g</div>
<div dir="auto"><br>
</div>
<div dir="auto">?</div>
<div dir="auto"><br>
</div>
</div>
</blockquote>
version=7.5.svn<br>
date=2018<br>
revision=r<br>
build_date=2018-08-10<br>
build_platform=x86_64-pc-linux-gnu<br>
build_off_t_size=8
<p>But I was in en language. If I set in system (or french),
it works!<br>
<br>
In fact, I'm using sometimes English GUI because the scale
bar text in psmap is not well coded and is displayed
kilomÄ"tre, in english kilometer.</p>
<p>anyway, english GUI should handled special character
isn't it ?<br>
</p>
<p>Best regards,<br>
</p>
<p>Frank<br>
</p>
<blockquote type="cite">
<div dir="auto">
<div dir="auto">Best</div>
<div dir="auto">Markus</div>
<div dir="auto"><br>
</div>
</div>
</blockquote>
</div>
_______________________________________________<br>
grass-user mailing list<br>
<a href="mailto:grass-user@lists.osgeo.org" rel="noreferrer
noreferrer" target="_blank">grass-user@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/grass-user" rel="noreferrer noreferrer noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/grass-user</a></blockquote>
</div>
</blockquote>
</div>
</blockquote></div>