Ognacの雑感

木漏れ日々

目次

Blog 利用状況

書庫

ギャラリ

コード体系の無知の恐ろしさ

.Net系はUnicodeになっているので、.Netの世界でクローズしているシステムではbyte単位を意識することは殆ど無くなりました。
詳細は確認してないのですが,Accessは以前からUnicodeだったと記憶してます。そのおかげで,文字長はbyte単位でなく文字単位で扱えました。
相談が持ち込まれました。
  Accessシステム(にしては大きなクラサバシステム)がパンク寸前になったのでオラクルDBのクラサバ・システムにアップサイジングすることになった。
  プログラム開発は順調に進んでいるが、おかしな動作で落ちる。データコンバージョンで多くのデータが桁落ちする。見て欲しい。
??? 桁落ちするということで想像したのは、受け手のオラクルがUnicodeになっていないのかな?
案の定、SJISになっていました。 オラクルも最近新規導入したものだったので,なぜSJISにしたのかと問うと、「デフォルトのまま設定したよ」と返事。
知らぬとは恐ろしい事だが、そんなレベルでオラクルの運用ができるのかなという不安感一杯。
導入したばかりだったら、もう一度、導入し直したほうが良いと薦めたのですが、それはできないとのこと。
「となると、コードで対処するしかない。DBにIOする際には SJISコードでのbyte単位での長さチェックを組み込んで回避するしかないなぁ」...と返事したところ
100本近いプログラムの手直しと画面上のTextBoxの入力文字長制約の部分の書き換えを、人海戦術で行ったとのこと、その分そっくり赤字なったと伝え聞きました。
不必要な工数と費用が発生したようですが、この時、Oracleの定義をし直すか,項目毎にコード体系指定(可能なら) するほうが良いように思います。
 よくよく聞いてみると、PM/SE部隊は実装経験がなく,業務分析のみ行う上流工程専門の部隊だそうです、そんな知識レベルでいいの?
オープン系の開発で,設計から施工まで行っている我が身から見たら、このような分業体制がモタラス不整合はやらなくて済む無駄な工数に思えてなりません。
 自分で無意味な仕事を作ってコストを高くしてるように感じます。
汎用機系の人は、EBCDICコードが多いせいなのか、文字コードの意識がまた違っています。
SJISコードでいう,半角と全角の混在は不可能で,全角文字列の前には 開始マーク,終了時には終了マークが付きます。
仕組みで見ればJISコードに近いかもしれません。汎用機の画面では,全角項目,半角項目は明確に別れていて,別物になります。
  汎用機で運用されているDB2はBCDICでコードで設定されていることが多くて、Webサーバーと連携するときのインターフェースが大変だと聞いたりもします。
汎用機の人たちには、SJISコード世界の話が通じ難い場合が多々あります。ましてUnicode/EUCなど尚更です。汎用機の世界と、オープン系の世界と、Office系の世界の人々の間のの通訳人になった気になったりします。
ユーザーからみたら同じIT関連の人なのに、IT業界内部がこんなに分裂した世界構成でいいのかと不安になったりします。
IT業界全体で基礎知識を共有できたら、作業のかなりの部分が無くなり、開発コストが格段に変わってくるものと思うのですが夢なんでしょうかね。

 

投稿日時 : 2007年4月8日 0:54

Feedback

# re: コード体系の無知の恐ろしさ 2007/04/08 10:06 中博俊

5/18に熱く語りましょう。(大阪)

# re: コード体系の無知の恐ろしさ 2007/04/10 14:06 Zee

法律業界も同じ事が言える。

知識不足や改正法の趣旨を取り違えたり、
思いこみをしていたり、
勝手な解釈をしていることで、
結論から遠ざかり、コストパフォーマンスの低下を招く。

# re: コード体系の無知の恐ろしさ 2007/04/10 21:29 Ognac

>法律業界も同じ事が言える。
そうなんですか。異業種での同じパターンが実感できませんが、違う形で同じ根の問題があるのは想像が付きます。
現状しか経験の無い人は現状が生まれた背景は追求しないものなんですよね。

# 何故か使われないUNICODE項目 2007/07/16 17:11 Ognacの雑感

何故か使われないUNICODE項目

# 何故か使われないUNICODE項目 2007/07/16 17:21 Ognacの雑感

何故か使われないUNICODE項目

# I used to be able to find good info from your content. 2021/07/12 21:49 I used to be able to find good info from your cont

I used to be able to find good info from your content.

# I was curious if you ever thought of changing the layout of your website? Its very well written; I love what youve got to say. But maybe you could a little more in the way of content so people could connect with it better. Youve got an awful lot of text 2021/07/18 7:39 I was curious if you ever thought of changing the

I was curious if you ever thought of changing the layout of your website?
Its very well written; I love what youve got to say. But
maybe you could a little more in the way of content so people could connect with it better.
Youve got an awful lot of text for only having one or two pictures.

Maybe you could space it out better?

# I was curious if you ever thought of changing the layout of your website? Its very well written; I love what youve got to say. But maybe you could a little more in the way of content so people could connect with it better. Youve got an awful lot of text 2021/07/18 7:42 I was curious if you ever thought of changing the

I was curious if you ever thought of changing the layout of your website?
Its very well written; I love what youve got to say. But
maybe you could a little more in the way of content so people could connect with it better.
Youve got an awful lot of text for only having one or two pictures.

Maybe you could space it out better?

# Hey! This post could not be written any better! Reading this post reminds me of my old room mate! He always kept chatting about this. I will forward this write-up to him. Pretty sure he will have a good read. Thanks for sharing! 2021/08/30 4:22 Hey! This post could not be written any better! Re

Hey! This post could not be written any better! Reading this post reminds me of my old room mate!
He always kept chatting about this. I will forward this write-up to him.
Pretty sure he will have a good read. Thanks for sharing!

# Hey! This post could not be written any better! Reading this post reminds me of my old room mate! He always kept chatting about this. I will forward this write-up to him. Pretty sure he will have a good read. Thanks for sharing! 2021/08/30 4:23 Hey! This post could not be written any better! Re

Hey! This post could not be written any better! Reading this post reminds me of my old room mate!
He always kept chatting about this. I will forward this write-up to him.
Pretty sure he will have a good read. Thanks for sharing!

# Hey! This post could not be written any better! Reading this post reminds me of my old room mate! He always kept chatting about this. I will forward this write-up to him. Pretty sure he will have a good read. Thanks for sharing! 2021/08/30 4:24 Hey! This post could not be written any better! Re

Hey! This post could not be written any better! Reading this post reminds me of my old room mate!
He always kept chatting about this. I will forward this write-up to him.
Pretty sure he will have a good read. Thanks for sharing!

# Hey! This post could not be written any better! Reading this post reminds me of my old room mate! He always kept chatting about this. I will forward this write-up to him. Pretty sure he will have a good read. Thanks for sharing! 2021/08/30 4:25 Hey! This post could not be written any better! Re

Hey! This post could not be written any better! Reading this post reminds me of my old room mate!
He always kept chatting about this. I will forward this write-up to him.
Pretty sure he will have a good read. Thanks for sharing!

# Howdy! Do you know if they make any plugins to assist with SEO? I'm trying to get my blog to rank for some targeted keywords but I'm not seeing very good gains. If you know of any please share. Thanks! 2021/08/31 23:17 Howdy! Do you know if they make any plugins to ass

Howdy! Do you know if they make any plugins to assist with SEO?
I'm trying to get my blog to rank for some targeted keywords but I'm not seeing very good gains.

If you know of any please share. Thanks!

# Wonderful beat ! I would like to apprentice even as you amend your website, how can i subscribe for a weblog web site? The account helped me a acceptable deal. I were tiny bit familiar of this your broadcast offered vivid clear idea 2021/09/03 20:42 Wonderful beat ! I would like to apprentice even a

Wonderful beat ! I would like to apprentice even as you amend your website,
how can i subscribe for a weblog web site? The account helped
me a acceptable deal. I were tiny bit familiar of this your
broadcast offered vivid clear idea

# Wonderful beat ! I would like to apprentice even as you amend your website, how can i subscribe for a weblog web site? The account helped me a acceptable deal. I were tiny bit familiar of this your broadcast offered vivid clear idea 2021/09/03 20:43 Wonderful beat ! I would like to apprentice even a

Wonderful beat ! I would like to apprentice even as you amend your website,
how can i subscribe for a weblog web site? The account helped
me a acceptable deal. I were tiny bit familiar of this your
broadcast offered vivid clear idea

# Wonderful beat ! I would like to apprentice even as you amend your website, how can i subscribe for a weblog web site? The account helped me a acceptable deal. I were tiny bit familiar of this your broadcast offered vivid clear idea 2021/09/03 20:44 Wonderful beat ! I would like to apprentice even a

Wonderful beat ! I would like to apprentice even as you amend your website,
how can i subscribe for a weblog web site? The account helped
me a acceptable deal. I were tiny bit familiar of this your
broadcast offered vivid clear idea

# Wonderful beat ! I would like to apprentice even as you amend your website, how can i subscribe for a weblog web site? The account helped me a acceptable deal. I were tiny bit familiar of this your broadcast offered vivid clear idea 2021/09/03 20:45 Wonderful beat ! I would like to apprentice even a

Wonderful beat ! I would like to apprentice even as you amend your website,
how can i subscribe for a weblog web site? The account helped
me a acceptable deal. I were tiny bit familiar of this your
broadcast offered vivid clear idea

# Wonderful article! This is the kind of info that should be shared around the web. Disgrace on Google for now not positioning this submit upper! Come on over and consult with my site . Thanks =) 2021/09/04 23:14 Wonderful article! This is the kind of info that s

Wonderful article! This is the kind of info that should be shared around the web.
Disgrace on Google for now not positioning this submit upper!
Come on over and consult with my site . Thanks =)

# Wonderful article! This is the kind of info that should be shared around the web. Disgrace on Google for now not positioning this submit upper! Come on over and consult with my site . Thanks =) 2021/09/04 23:15 Wonderful article! This is the kind of info that s

Wonderful article! This is the kind of info that should be shared around the web.
Disgrace on Google for now not positioning this submit upper!
Come on over and consult with my site . Thanks =)

# Wonderful article! This is the kind of info that should be shared around the web. Disgrace on Google for now not positioning this submit upper! Come on over and consult with my site . Thanks =) 2021/09/04 23:16 Wonderful article! This is the kind of info that s

Wonderful article! This is the kind of info that should be shared around the web.
Disgrace on Google for now not positioning this submit upper!
Come on over and consult with my site . Thanks =)

# Wonderful article! This is the kind of info that should be shared around the web. Disgrace on Google for now not positioning this submit upper! Come on over and consult with my site . Thanks =) 2021/09/04 23:17 Wonderful article! This is the kind of info that s

Wonderful article! This is the kind of info that should be shared around the web.
Disgrace on Google for now not positioning this submit upper!
Come on over and consult with my site . Thanks =)

# Spot on with this write-up, I seriously feel this amazing site needs much more attention. I'll probably be back again to read more, thanks for the advice! 2021/09/05 11:10 Spot on with this write-up, I seriously feel this

Spot on with this write-up, I seriously feel this amazing site needs much more attention. I'll probably
be back again to read more, thanks for the advice!

# Hello! I understand this is somewhat off-topic but I had to ask. Does running a well-established blog such as yours take a massive amount work? I'm brand new to blogging but I do write in my journal every day. I'd like to start a blog so I will be able 2021/10/22 19:17 Hello! I understand this is somewhat off-topic but

Hello! I understand this is somewhat off-topic but I had to ask.
Does running a well-established blog such as yours take a
massive amount work? I'm brand new to blogging but I do write in my journal every
day. I'd like to start a blog so I will be able to share my
personal experience and feelings online. Please let me
know if you have any kind of suggestions or tips for
new aspiring blog owners. Thankyou! part time jobs hired
in 30 minutes https://parttimejobshiredin30minutes.wildapricot.org/

# Your style is unique compared to other people I have read stuff from. Thanks for posting when you've got the opportunity, Guess I will just book mark this blog. 2021/10/26 5:39 Your style is unique compared to other people I ha

Your style is unique compared to other people I have read stuff from.
Thanks for posting when you've got the opportunity, Guess I will just book mark this blog.

# If some one desires to be updated with newest technologies therefore he must be visit this web site and be up to date every day. 2021/10/26 20:44 If some one desires to be updated with newest tech

If some one desires to be updated with newest technologies therefore he
must be visit this web site and be up to date every day.

# If some one desires to be updated with newest technologies therefore he must be visit this web site and be up to date every day. 2021/10/26 20:45 If some one desires to be updated with newest tech

If some one desires to be updated with newest technologies therefore he
must be visit this web site and be up to date every day.

# If some one desires to be updated with newest technologies therefore he must be visit this web site and be up to date every day. 2021/10/26 20:46 If some one desires to be updated with newest tech

If some one desires to be updated with newest technologies therefore he
must be visit this web site and be up to date every day.

# If some one desires to be updated with newest technologies therefore he must be visit this web site and be up to date every day. 2021/10/26 20:47 If some one desires to be updated with newest tech

If some one desires to be updated with newest technologies therefore he
must be visit this web site and be up to date every day.

# ivermectin 1 http://stromectolabc.com/
ivermectin nz 2022/02/07 17:31 Busjdhj

ivermectin 1 http://stromectolabc.com/
ivermectin nz

# doxycycline tablets https://doxycyline1st.com/
doxycycline hydrochloride 100mg 2022/02/26 9:29 Doxycycline

doxycycline tablets https://doxycyline1st.com/
doxycycline hydrochloride 100mg

# best over the counter ed pills https://erectionpills.best/
best pills for ed 2022/06/28 10:52 ErectionPills

best over the counter ed pills https://erectionpills.best/
best pills for ed

# paxlovid zulassung https://paxlovid.best/
paxlovid chemical structure 2022/09/07 22:42 Paxlovid

paxlovid zulassung https://paxlovid.best/
paxlovid chemical structure

# best male ed pills https://erectiledysfunctionpills.shop/ 2022/10/14 16:29 Erectile

best male ed pills https://erectiledysfunctionpills.shop/

# can you buy prednisone over the counter in usa https://prednisone20mg.icu/ 2022/10/15 7:03 Prednisone

can you buy prednisone over the counter in usa https://prednisone20mg.icu/

# prednisone 10 mg online https://prednisonepills.site/
buy prednisone from canada 2022/11/28 16:41 Prednisone

prednisone 10 mg online https://prednisonepills.site/
buy prednisone from canada

# gay mature dating https://datingonline1st.com/
vip dating now 2023/01/17 17:28 Dating

gay mature dating https://datingonline1st.com/
vip dating now

# Generic Name. Comprehensive side effect and adverse reaction information.
https://edonlinefast.com
earch our drug database. Generic Name. 2023/02/17 2:45 EdOnline

Generic Name. Comprehensive side effect and adverse reaction information.
https://edonlinefast.com
earch our drug database. Generic Name.

# farmacia senza ricetta recensioni https://viasenzaricetta.com/# 2023/04/16 4:15 ViaSenza

farmacia senza ricetta recensioni https://viasenzaricetta.com/#

# Abortion pills online - https://cytotecsale.pro/# 2023/04/28 13:04 Cytotec

Abortion pills online - https://cytotecsale.pro/#

# ed pills cheap https://edpill.pro/# - ed pills otc 2023/06/27 5:22 EdPills

ed pills cheap https://edpill.pro/# - ed pills otc

# best over the counter ed pills https://edpills.ink/# - cheap erectile dysfunction pills 2023/07/26 14:17 EdPills

best over the counter ed pills https://edpills.ink/# - cheap erectile dysfunction pills

# buy ed pills online https://edpillsotc.store/# - ed treatment pills 2023/10/07 16:01 EdPills

buy ed pills online https://edpillsotc.store/# - ed treatment pills

# doxycycline 50 mg https://doxycycline.forum/ generic for doxycycline 2023/11/25 3:48 Doxycycline

doxycycline 50 mg https://doxycycline.forum/ generic for doxycycline

# acquisto farmaci con ricetta https://farmaciait.pro/ migliori farmacie online 2023 2023/12/04 3:41 Farmacia

acquisto farmaci con ricetta https://farmaciait.pro/ migliori farmacie online 2023

# prednisone cost in india https://prednisone.bid/ generic prednisone online 2023/12/27 2:30 Prednisone

prednisone cost in india https://prednisone.bid/ generic prednisone online

タイトル
名前
Url
コメント