Change fullwidth characters to halfwidth

javascript, php

Solution

In PHP, use `mb_convert_kana` to convert "zen-kaku" to "han-kaku".

Problem

``` "合同会社Knowledge Library" => "合同会社Knowledge Library" ``` I want to convert only alphanumeric characters in the string to single byte using java script or php

Original source