[pgsql-jp: 24866] Re: リストの中に変な記号

MOCHIDA Shuji mochid @ netside.co.jp
2002年 2月 19日 (火) 17:21:32 JST


持田@NETside です。

> 現在、運用中のデータの中に変な記号があ

> DB=# select t13,t14 from hoge where
> t01=1;
>        t13       |    t14
> -----------------+------------
>  03−1234−5678 ● 2002-01-01


  % psql -c 'select t13,t14 from hoge where t01=1' DB | hexdump -e '"%06_ax " 16/1 " %02x"' -e '"  " "%_p"' -e '"\n"'

とでもしてみると様子がわかると思います。

 ちなみにウチでは

  %  echo ' |' | tail -c +2 | nkf -j
  ●

となります。t13 のデーターの後ろに空白がくっついてるのでは
ないでしょうか。

--
持田 修司 NETside Technologies Inc.
          -- Equal Opportunity for All Good Architectures, NetBSD. --



pgsql-jp メーリングリストの案内