[GRASS-dev] [GRASS GIS] #1485: GRASS6.4.2RC1 WX-Python GUI, menu does not work at all

#1485: GRASS6.4.2RC1 WX-Python GUI, menu does not work at all
-------------------------+--------------------------------------------------
Reporter: venkat | Owner: grass-dev@…
     Type: defect | Status: new
Priority: blocker | Milestone: 6.4.2
Component: Default | Version: svn-trunk
Keywords: | Platform: MSWindows 7
      Cpu: Unspecified |
-------------------------+--------------------------------------------------
Cannot save workspace from wxGUI

Please see the error in attached PDF

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1485&gt;
GRASS GIS <http://grass.osgeo.org>

#1485: Cannot save workspace from wxGUI
-------------------------+--------------------------------------------------
Reporter: venkat | Owner: grass-dev@…
     Type: defect | Status: new
Priority: blocker | Milestone: 6.4.2
Component: wxGUI | Version: svn-trunk
Keywords: | Platform: MSWindows 7
      Cpu: Unspecified |
-------------------------+--------------------------------------------------
Changes (by martinl):

  * component: Default => wxGUI

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1485#comment:1&gt;
GRASS GIS <http://grass.osgeo.org>

#1485: Cannot save workspace from wxGUI
-------------------------+--------------------------------------------------
Reporter: venkat | Owner: grass-dev@…
     Type: defect | Status: new
Priority: blocker | Milestone: 6.4.2
Component: wxGUI | Version: svn-trunk
Keywords: | Platform: MSWindows 7
      Cpu: Unspecified |
-------------------------+--------------------------------------------------

Comment(by martinl):

Next time please attach png rather then pdf...

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1485#comment:2&gt;
GRASS GIS <http://grass.osgeo.org>

#1485: Cannot save workspace from wxGUI
-------------------------+--------------------------------------------------
Reporter: venkat | Owner: grass-dev@…
     Type: defect | Status: new
Priority: blocker | Milestone: 6.4.2
Component: wxGUI | Version: svn-trunk
Keywords: wingrass | Platform: MSWindows 7
      Cpu: Unspecified |
-------------------------+--------------------------------------------------
Changes (by martinl):

  * keywords: => wingrass

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1485#comment:3&gt;
GRASS GIS <http://grass.osgeo.org>

#1485: Cannot save workspace from wxGUI
-------------------------+--------------------------------------------------
Reporter: venkat | Owner: grass-dev@…
     Type: defect | Status: new
Priority: blocker | Milestone: 6.4.2
Component: wxGUI | Version: 6.4.2 RCs
Keywords: wingrass | Platform: MSWindows 7
      Cpu: Unspecified |
-------------------------+--------------------------------------------------
Changes (by martinl):

  * version: svn-trunk => 6.4.2 RCs

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1485#comment:4&gt;
GRASS GIS <http://grass.osgeo.org>

#1485: Cannot save workspace from wxGUI
-------------------------+--------------------------------------------------
Reporter: venkat | Owner: grass-dev@…
     Type: defect | Status: new
Priority: blocker | Milestone: 6.4.2
Component: wxGUI | Version: 6.4.2 RCs
Keywords: wingrass | Platform: MSWindows 7
      Cpu: Unspecified |
-------------------------+--------------------------------------------------

Comment(by martinl):

I see same problem with path mismatch (see #1380)

{{{
C:\Program Files...
}}}

versus

{{{
c:\osgeo4w
}}}

How did you installed winGRASS?

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1485#comment:5&gt;
GRASS GIS <http://grass.osgeo.org>

#1485: Cannot save workspace from wxGUI
-------------------------+--------------------------------------------------
Reporter: venkat | Owner: grass-dev@…
     Type: defect | Status: new
Priority: blocker | Milestone: 6.4.2
Component: wxGUI | Version: 6.4.2 RCs
Keywords: wingrass | Platform: MSWindows 7
      Cpu: Unspecified |
-------------------------+--------------------------------------------------

Comment(by neteler):

Venka, the only way I see is to clean up the machine and remove both
OSGeo4W and winGRASS standalone to avoid the current mixture.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1485#comment:6&gt;
GRASS GIS <http://grass.osgeo.org>

#1485: Cannot save workspace from wxGUI
-------------------------+--------------------------------------------------
Reporter: venkat | Owner: grass-dev@…
     Type: defect | Status: new
Priority: blocker | Milestone: 6.4.2
Component: wxGUI | Version: 6.4.2 RCs
Keywords: wingrass | Platform: MSWindows 7
      Cpu: Unspecified |
-------------------------+--------------------------------------------------

Comment(by Venkat):

Tried on brand new computer. The issue is about unicode encoding.
GRASS-6.4.2RC1, 6.4.1 do no seem to support Unicode. As I mentioned in
http://trac.osgeo.org/grass/ticket/1380#comment:15

On Window-7 System local needs to be changed from Contro Panel --> Region
and Language --> Change system locale. On Japanese Windows-7 the system
locale is set to "Japanese". (Japanese/Chinese/Korean? are use double byte
encoding, unlike English, German etc.). d.rast wxGUI works if I set the
"system locale" to English or German (I tried with German too).

So something needs to be done about getting wxGUI working when System
Locale is set to Japanese (and/or Chinese, Korean).

Venka

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1485#comment:7&gt;
GRASS GIS <http://grass.osgeo.org>

#1485: Cannot save workspace from wxGUI
-------------------------+--------------------------------------------------
Reporter: venkat | Owner: grass-dev@…
     Type: defect | Status: new
Priority: blocker | Milestone: 6.4.2
Component: wxGUI | Version: 6.4.2 RCs
Keywords: wingrass | Platform: MSWindows 7
      Cpu: Unspecified |
-------------------------+--------------------------------------------------

Comment(by glynn):

> So something needs to be done about getting wxGUI working when System
Locale is set to Japanese
It's unclear whether GRASS can be made to work reliably with the Shift-JIS
(CP932) encoding, due to the use of 0x5C (backslash/yen) as the second
byte of a double-byte sequence. On Windows, GRASS always treats 0x5C as a
directory separator. Similar use of 0x7C (vertical bar) may also cause
problems, as it's commonly used as a field separator.

So far, we've yet to find a solution which doesn't involve far more work
than is feasible.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1485#comment:8&gt;
GRASS GIS <http://grass.osgeo.org>

#1485: Cannot save workspace from wxGUI
-------------------------+--------------------------------------------------
Reporter: venkat | Owner: grass-dev@…
     Type: defect | Status: new
Priority: blocker | Milestone: 6.4.2
Component: wxGUI | Version: 6.4.2 RCs
Keywords: wingrass | Platform: MSWindows 7
      Cpu: Unspecified |
-------------------------+--------------------------------------------------

Comment(by naokiueda):

This #1485 probably same cause as #1380.
I'd like to add a fixed code for 6.4.1. This has done by another GRASS
User, who fixed this also in 6.4.0.
Note that this fix, as it is, does not fit for 6.4.2, because base source
code has changed a lot.

[[BR]]
There are comment-out in etc/wxpython/gui_modules/menuform.py, line 2016 -
2019[[BR]]
[[BR]]
2011 def ParseInterface(self, cmd, parser = processTask):[[BR]]
2012 """!Parse interface[[BR]]
2013[[BR]]
2014 @param cmd command to be parsed (given as list)[[BR]]
2015 """[[BR]]
2016 # enc = locale.getdefaultlocale()[1][[BR]]
2017 # if enc and enc.lower() not in ("utf8", "utf-8"):[[BR]]
2018 # tree =
etree.fromstring(getInterfaceDescription(cmd[0]).decode(enc).encode("utf-8"))[[BR]]
2019 # else:[[BR]]
2020 tree = etree.fromstring(getInterfaceDescription(cmd[0]))[[BR]]
2021[[BR]]
2022 return processTask(tree).GetTask()[[BR]]
[[BR]]
Enabling these line by removing comment-out, will fix this problem in
6.4.1.[[BR]]
[[BR]]
[[BR]]
Also, there need to be two more fix.[[BR]]
[[BR]]
in menuform.py, near line 2132[[BR]]
[[BR]]
2132 def GetCommandInputMapParamKey(self, cmd):[[BR]]
2133 """!Get parameter key for input raster/vector map[[BR]]
2134[[BR]]
2135 @param cmd module name[[BR]]
2136[[BR]]
2137 @return parameter key[[BR]]
2138 @return None on failure[[BR]]
2139 """[[BR]]
2140 # parse the interface decription[[BR]]
2141 if not self.grass_task:[[BR]]
2142 tree =
etree.fromstring(getInterfaceDescription(cmd))[[BR]]
2143 self.grass_task = processTask(tree).GetTask()[[BR]]
2144[[BR]]
2145 for p in self.grass_task.params:[[BR]]
2146 if p.get('name', '') in ('input', 'map'):[[BR]]
2147 age = p.get('age', '')[[BR]]
2148 prompt = p.get('prompt', '')[[BR]]
2149 element = p.get('element', '')[[BR]]
2150 if age == 'old' and[[BR]]
2151 element in ('cell', 'grid3', 'vector')
and[[BR]]
2152 prompt in ('raster', '3d-raster',
'vector'):[[BR]]
2153 return p.get('name', None)[[BR]]
2154 return None[[BR]]
[[BR]]
change as follows[[BR]]
[[BR]]
Before:[[BR]]
2141 if not self.grass_task:[[BR]]
2142 tree =
etree.fromstring(getInterfaceDescription(cmd))[[BR]]
2143 self.grass_task = processTask(tree).GetTask()[[BR]]
[[BR]]
After Fix:[[BR]]
2141 if not self.grass_task:[[BR]]
2142 enc = locale.getdefaultlocale()[1][[BR]]
2143 if enc and enc.lower() not in ("utf8″, “utf-8″):[[BR]]
2144 p = re.compile(enc, re.IGNORECASE)[[BR]]
2145 tree = etree.fromstring(p.sub(’utf-8′,
getInterfaceDescription(cmd)).decode(enc).encode("utf-8″))[[BR]]
2146 else:[[BR]]
2147 tree =
etree.fromstring(getInterfaceDescription(cmd))[[BR]]
[[BR]]
[[BR]]
[[BR]]
[[BR]]
Also in menuform.py line 1957[[BR]]
[[BR]]
1957 def getInterfaceDescription(cmd):[[BR]]
1958 """!Returns the XML description for the GRASS cmd.[[BR]]
1959[[BR]]
1960 The DTD must be located in $GISBASE/etc/grass-
interface.dtd,[[BR]]
1961 otherwise the parser will not succeed.[[BR]]
1962[[BR]]
1963 @param cmd command (name of GRASS module)[[BR]]
1964 """[[BR]]
1965 try:[[BR]]
1966 cmdout, cmderr = grass.Popen([cmd, '--interface-
description'], stdout = grass.PIPE,[[BR]]
1967 stderr =
grass.PIPE).communicate()[[BR]]
1968 except OSError, e:[[BR]]
1969 raise gcmd.GException, _("Unable to fetch interface
description for command '%s'. "[[BR]]
1970 "Details: %s") % (cmd,
e.value)[[BR]]
1971 if cmderr and cmderr[:7] != 'WARNING':[[BR]]
1972 raise gcmd.GException, _("Unable to fetch interface
description for command '%s'. "[[BR]]
1973 "Details: %s") % (cmd, cmderr)[[BR]]
1974[[BR]]
1975 return cmdout.replace('grass-interface.dtd',
os.path.join(globalvar.ETCDIR, 'grass-interface.dtd'))[[BR]]
[[BR]]
[[BR]]
Before:[[BR]]
1971 if cmderr and cmderr[:7] != 'WARNING':[[BR]]
[[BR]]
After Fix:[[BR]]
1971 if cmderr and cmderr[12:19] != 'WARNING':[[BR]]
[[BR]]
This has to be done because this condition see if error string start with
"WARNING" or not, but as a matter of fact, errot string was
"GRASSINFO_WARNING".[[BR]]
[[BR]]
[[BR]]
There three fixes above solve issue in 6.4.2 (in multi-byte
environmrnt).[[BR]]

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1485#comment:9&gt;
GRASS GIS <http://grass.osgeo.org>

#1485: Cannot save workspace from wxGUI
-------------------------+--------------------------------------------------
Reporter: venkat | Owner: grass-dev@…
     Type: defect | Status: new
Priority: blocker | Milestone: 6.4.2
Component: wxGUI | Version: 6.4.2 RCs
Keywords: wingrass | Platform: MSWindows 7
      Cpu: Unspecified |
-------------------------+--------------------------------------------------

Comment(by naokiueda):

I'd like to also add this fix in 6.4.0.
Base source code is 6.4.0 RC6

I think porting fixes above and below can solve this ticket issue and
#1380.
GRASS used to handle double byte characters before..

[[BR]]
Before:[[BR]]
     def GetCommandInputMapParamKey(self, cmd):[[BR]]
         """Get parameter key for input raster/vector map[[BR]]
         [[BR]]
         @param cmd module name[[BR]]
         [[BR]]
         @return parameter key[[BR]]
         @return None on failure[[BR]]
         """[[BR]]
         # parse the interface decription[[BR]]
         if not self.grass_task:[[BR]]
             self.grass_task = grassTask()[[BR]]
             handler = processTask(self.grass_task)[[BR]]
[[BR]]
             xml.sax.parseString(getInterfaceDescription(cmd),
handler)[[BR]]
[[BR]]
[[BR]]
After Fix:[[BR]]
     def GetCommandInputMapParamKey(self, cmd):[[BR]]
         """Get parameter key for input raster/vector map[[BR]]
         [[BR]]
         @param cmd module name[[BR]]
         [[BR]]
         @return parameter key[[BR]]
         @return None on failure[[BR]]
         """[[BR]]
         # parse the interface decription[[BR]]
         if not self.grass_task:[[BR]]
             self.grass_task = grassTask()[[BR]]
             handler = processTask(self.grass_task)[[BR]]
[[BR]]
# xml.sax.parseString(getInterfaceDescription(cmd),
handler)[[BR]]
         enc = locale.getdefaultlocale()[1][[BR]]
         if enc and enc.lower() not in ("utf8", "utf-8"):[[BR]]
xml.sax.parseString(getInterfaceDescription(cmd).decode(enc).split('\n',1)[1].replace('',
'<?xml version="1.0" encoding="utf-8"?>\n', 1).encode("utf-8"),[[BR]]
                             handler)[[BR]]
         else:[[BR]]
             xml.sax.parseString(getInterfaceDescription(cmd),[[BR]]
                             handler)[[BR]]

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1485#comment:10&gt;
GRASS GIS <http://grass.osgeo.org>

#1485: Cannot save workspace from wxGUI
-------------------------+--------------------------------------------------
Reporter: venkat | Owner: grass-dev@…
     Type: defect | Status: new
Priority: blocker | Milestone: 6.4.2
Component: wxGUI | Version: 6.4.2 RCs
Keywords: wingrass | Platform: MSWindows 7
      Cpu: Unspecified |
-------------------------+--------------------------------------------------

Comment(by martinl):

Replying to [comment:9 naokiueda]:
> This #1485 probably same cause as #1380.
> I'd like to add a fixed code for 6.4.1. This has done by another GRASS
User, who fixed this also in 6.4.0.
> Note that this fix, as it is, does not fit for 6.4.2, because base
source code has changed a lot.

Done for `devbr6` (GRASS 6.5) in r49064. Could you try the next daily
build from http://wingrass.fsv.cvut.cz/grass65/ ?

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1485#comment:11&gt;
GRASS GIS <http://grass.osgeo.org>

#1485: Cannot save workspace from wxGUI
-------------------------+--------------------------------------------------
Reporter: venkat | Owner: grass-dev@…
     Type: defect | Status: new
Priority: blocker | Milestone: 6.4.2
Component: wxGUI | Version: 6.4.2 RCs
Keywords: wingrass | Platform: MSWindows 7
      Cpu: Unspecified |
-------------------------+--------------------------------------------------

Comment(by martinl):

Replying to [comment:11 martinl]:

> Done for `devbr6` (GRASS 6.5) in r49064. Could you try the next daily
build from http://wingrass.fsv.cvut.cz/grass65/ ?

To track changes - small typo in r49068

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1485#comment:12&gt;
GRASS GIS <http://grass.osgeo.org>

#1485: Cannot save workspace from wxGUI
-------------------------+--------------------------------------------------
Reporter: venkat | Owner: martinl
     Type: defect | Status: assigned
Priority: blocker | Milestone: 6.4.2
Component: wxGUI | Version: 6.4.2 RCs
Keywords: wingrass | Platform: MSWindows 7
      Cpu: Unspecified |
-------------------------+--------------------------------------------------
Changes (by martinl):

* cc: grass-dev@… (added)
  * owner: grass-dev@… => martinl
  * status: new => assigned

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1485#comment:13&gt;
GRASS GIS <http://grass.osgeo.org>

#1485: Cannot save workspace from wxGUI
-----------------------------+----------------------------------------------
Reporter: venkat | Owner: martinl
     Type: defect | Status: assigned
Priority: blocker | Milestone: 6.4.2
Component: wxGUI | Version: 6.4.2 RCs
Keywords: wingrass, cp932 | Platform: MSWindows 7
      Cpu: Unspecified |
-----------------------------+----------------------------------------------
Changes (by martinl):

  * keywords: wingrass => wingrass, cp932

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1485#comment:14&gt;
GRASS GIS <http://grass.osgeo.org>

#1485: Cannot save workspace from wxGUI
-----------------------------+----------------------------------------------
Reporter: venkat | Owner: martinl
     Type: defect | Status: assigned
Priority: blocker | Milestone: 6.4.2
Component: wxGUI | Version: 6.4.2 RCs
Keywords: wingrass, cp932 | Platform: MSWindows 7
      Cpu: Unspecified |
-----------------------------+----------------------------------------------

Comment(by naokiueda):

I tested with r49086 that is just build.
Problem still remains, and looks same as before.

I got an following error in GRASS console, when I click d.rast icon.

-------------------------------------------
Traceback (most recent call last):
   File "C:/Program Files/GRASS
6.5.SVN/etc/wxpython/wxgui.py", line 1376, in OnAddRaster

self.curr_page.maptree.AddLayer('raster')
   File "c:/osgeo4w/usr/src/grass6_devel/dist.i686-pc-
mingw32/etc/wxpython/gui_modules/layertree.py", line 852, in
AddLayer
   File "c:/osgeo4w/usr/src/grass6_devel/dist.i686-pc-
mingw32/etc/wxpython/gui_modules/layertree.py", line 917, in
PropertiesDialog
   File "C:\Program Files\GRASS
6.5.SVN\etc\wxpython\gui_modules\menuform.py", line 1818, in
ParseCommand

blackList = _blackList)
   File "C:\Program Files\GRASS
6.5.SVN\etc\python\grass\script\task.py", line 453, in
parse_interface

tree = etree.fromstring(get_interface_description(name).deco
de(enc).encode("utf-8"))
   File "C:\Program Files\GRASS
6.5.SVN\Python25\lib\xml\etree\ElementTree.py", line 963, in
XML

parser.feed(text)
   File "C:\Program Files\GRASS
6.5.SVN\Python25\lib\xml\etree\ElementTree.py", line 1245,
in feed

self._parser.Parse(data, 0)
xml.parsers.expat
.
ExpatError
:
unknown encoding: line 1, column 30
Traceback (most recent call last):
   File "c:/osgeo4w/usr/src/grass6_devel/dist.i686-pc-
mingw32/etc/wxpython/gui_modules/layertree.py", line 992, in
OnActivateLayer
   File "c:/osgeo4w/usr/src/grass6_devel/dist.i686-pc-
mingw32/etc/wxpython/gui_modules/layertree.py", line 917, in
PropertiesDialog
   File "C:\Program Files\GRASS
6.5.SVN\etc\wxpython\gui_modules\menuform.py", line 1818, in
ParseCommand

blackList = _blackList)
   File "C:\Program Files\GRASS
6.5.SVN\etc\python\grass\script\task.py", line 453, in
parse_interface

tree = etree.fromstring(get_interface_description(name).deco
de(enc).encode("utf-8"))
   File "C:\Program Files\GRASS
6.5.SVN\Python25\lib\xml\etree\ElementTree.py", line 963, in
XML

parser.feed(text)
   File "C:\Program Files\GRASS
6.5.SVN\Python25\lib\xml\etree\ElementTree.py", line 1245,
in feed

self._parser.Parse(data, 0)
xml.parsers.expat
.
ExpatError
:
unknown encoding: line 1, column 30

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1485#comment:15&gt;
GRASS GIS <http://grass.osgeo.org>

#1485: Cannot save workspace from wxGUI
-----------------------------+----------------------------------------------
Reporter: venkat | Owner: martinl
     Type: defect | Status: assigned
Priority: blocker | Milestone: 6.4.2
Component: wxGUI | Version: 6.4.2 RCs
Keywords: wingrass, cp932 | Platform: MSWindows 7
      Cpu: Unspecified |
-----------------------------+----------------------------------------------

Comment(by martinl):

Replying to [comment:15 naokiueda]:
> I tested with r49086 that is just build.
> Problem still remains, and looks same as before.

I have applied changes that you have suggested. I thought that it could
help.

> I got an following error in GRASS console, when I click d.rast icon.

Please next time use pre-formated text
http://trac.osgeo.org/grass/wiki/WikiFormatting (`-> Preformatted Text`).
Otherwise it's hard to read it.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1485#comment:16&gt;
GRASS GIS <http://grass.osgeo.org>

#1485: Cannot save workspace from wxGUI
-----------------------------+----------------------------------------------
Reporter: venkat | Owner: martinl
     Type: defect | Status: assigned
Priority: blocker | Milestone: 6.4.2
Component: wxGUI | Version: 6.4.2 RCs
Keywords: wingrass, cp932 | Platform: MSWindows 7
      Cpu: Unspecified |
-----------------------------+----------------------------------------------

Comment(by martinl):

Replying to [comment:16 martinl]:
> Replying to [comment:15 naokiueda]:
> > I tested with r49086 that is just build.
> > Problem still remains, and looks same as before.

I probably found the reason why it fails, could you try r49091 (ie. next
winGRASS build)?

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1485#comment:17&gt;
GRASS GIS <http://grass.osgeo.org>

#1485: Cannot save workspace from wxGUI
-----------------------------+----------------------------------------------
Reporter: venkat | Owner: martinl
     Type: defect | Status: assigned
Priority: blocker | Milestone: 6.4.2
Component: wxGUI | Version: 6.4.2 RCs
Keywords: wingrass, cp932 | Platform: MSWindows 7
      Cpu: Unspecified |
-----------------------------+----------------------------------------------

Comment(by naokiueda):

I tested with r49105 that should contain r49091.[[BR]]
I still got "ExpatError" "unknown encoding: line 1, column 30".[[BR]]
[[BR]]
When I download r49105, the Python scripts (menuform.py, task.py) does not
contain changes of 49064, 49086 , or 49091. So I ported chages by
referencing diffs, and test it. [[BR]]
Result is still same.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1485#comment:18&gt;
GRASS GIS <http://grass.osgeo.org>

#1485: Cannot save workspace from wxGUI
-----------------------------+----------------------------------------------
Reporter: venkat | Owner: martinl
     Type: defect | Status: assigned
Priority: blocker | Milestone: 6.4.2
Component: wxGUI | Version: 6.4.2 RCs
Keywords: wingrass, cp932 | Platform: MSWindows 7
      Cpu: Unspecified |
-----------------------------+----------------------------------------------

Comment(by Venkat):

I tested with winGRASS r49125-1 on Windows-7 (Japanese). The multi-byte
Japanese encoding issue wxGUI seems to be solved. Tested d.rast, r.in.gdal
and save workspace for the wxGUI and they all seem to work.

Will these changes in winGRASS r49125-1 to support multi-byte encoding
back-ported to GRASS-6.4.2? We would like to continue with testing wxGUI
in winGRASS, should be wait for the GRASS-6.4.2 back port or continue
testing with winGRASS-6.5.

As a final goal we would like to use GRASS-6.4.2 in Japanese environment
for our training materials.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1485#comment:19&gt;
GRASS GIS <http://grass.osgeo.org>