senzing-garage/docker-senzing-console

G2Export tables don't display properly

Closed this issue · 1 comments

You get this rater than pretty grid lines ...
<94><94><80><94><80><94><80><94><80><94><80><94><80><94><80><94><80><94><80><94><80><94><80><94><94><80><94><80><94><80><94><80><94><80>
<94><82> Record ID <94><82> Entity Data <94><82> Additional Data <94><82>
<94><94><80><94><80><94><80><94><80><94><80><94><80><94><80><94><80><94><80><94><80><94><80><94><94><80><94><80><94><80><94><80><94><80>
<94><82> CUSTOMERS <94><82> PRIMARY: Smith Bob J <94><82> AMOUNT: 100 <94><82>
<94><82> 1001 <94><82> PRIMARY: Smith II Bob <94><82> AMOUNT: 200 <94><82>

To fix it, locale to UTF-8 like this ...
export LC_ALL=C.UTF-8

This should also be fixed in sshd and debug in case users try to use G2Export from any of them.

and voila ...
Entity summary for entity 1: Bob Smith II
┼───────────┼──────────────────────────────────────────────┼──────────────────┼
│ Record ID │ Entity Data │ Additional Data │
┼───────────┼──────────────────────────────────────────────┼──────────────────┼
│ CUSTOMERS │ PRIMARY: Smith B │ AMOUNT: 100 │
│ 1001 │ PRIMARY: Smith Bob J │ AMOUNT: 200 │
│ 1002 │ PRIMARY: Smith Rob E │ AMOUNT: 300 │
│ 1003 │ PRIMARY: Smith Robert │ AMOUNT: 400 │

Pull requests: