code sjis

2018.01.11

Logging


There is a troubling character code called “sjis” in “Japan”.
“Garbled characters” phenomenon occurred in the local server.
Finally, in order to solve the problem, we changed the file setting “php.ini”.
I used “30 minutes” before noticing the problem.
At first I thought that the setting of “Apache” was not bad, but that was a mistake.
From the conclusion it was solved by commenting out the setting of “character code”.
When using “Japanese”, I believe that “UTF – 8” is currently used most, but “sjis” is sometimes used for security measures etc.
In addition, there are cases where “sjis” is still used in old sites.

タグ

At first I thought that the setting, before noticing the problem, but that was a mistake, code sjis, From the conclusion it was solved, Garbled characters, I believe that, in order to solve the problem, is currently used most, is sometimes used for security measures etc, is still used in old sites, phenomenon occurred in the local server, php.ini, there are cases where, There is a troubling character code called, was not bad, we changed the file setting, WEB+DB PRESS plus, When using,

コーディングは後継者が分かるように記述するべきか?

2017.09.11

Logging


コーディングは後継者が分かるように記述するべきか?
こういうのが先日、タイムラインに流ました。
会社のコードはある基準値で書かれているような気がします、
逆にオープンソースは好きなコードを書くことが出来るのですね。
会社のコードを見ればどれぐらいのレベルなのかが分かったりします
その基準に合わせて書いたほうが無難です。
トイウコトが今までのIT会社の掟みたいだったと思いますが
実際どうなのかと言えば、「間違いじゃない」としか言えないのが
現状かなと思います。ただ、自分としては好きなコードを書くことが
良いかなと思います。ある基準値のコードでコーディングする場合、
コメントを残しておかないといけないのかということだと思います。
コメントは必要なのかどうか?
これ常識的にはコメントを残してあげるほうが親切なのだけど
自分基準で考えるとコメントは面倒くさいなと感じます。コメントを
書けば書くほど先頭行がコメント履歴で埋め尽くすことになります。
いまの会社はコーディングに基準がないので
どんなコーディングでも良いということ、何だけど
実際、ひとが増えてきたらルールを作らないと駄目になりそうですね。
そうなると面倒くさいコメントというものを記載しないといけなくなるのかもしれません。
 
 

タグ

WEB+DB PRESS plus, オープンソース, コーディング, コード, コメント履歴, タイムライン, トイウコト, どれぐらい, プログラミング作法, ルール, 先頭行, 基準値, 実際, 後継者, 成り立ち, 間違い, 面倒くさいコメント,