int i = Integer.parseInt( g.trim(), 8 /* radix */ );