title: Check if a string is half width or full width in C#
body: <p><a href="https://stackoverflow.com/questions/43753954/c-sharp-application-on-japanese-windows-os-present-latin-as-full-width-charact">C# application on Japanese Windows OS - Present Latin as Full-Width characters</a></p>
  
  <p>I referred the accepted answer in the above link and is using the code below to convert Japanese string from full width to half width but it is returning the same full width string without converting.</p>
  
  <pre><code>string userInput = "チヨチヨチチヨチヨチ";
  string result = userInput.Normalize(NormalizationForm.FormKC);
  </code></pre>
  
  <p>Expected output in half width: ﾁﾖﾁﾖﾁﾁﾖﾁﾖﾁ
  Actual output: チヨチヨチチヨチヨチ (full width)</p>
  
  <p>However, even though the above code is supposed to convert a full width string to half width, when I pass the half width string (ﾁﾖﾁﾖﾁﾁﾖﾁﾖﾁ) to the above code, it converts it to full width form (チヨチヨチチヨチヨチ).</p>
  
  <p>What am I doing wrong here? </p>
  
  <p>Anyways I don’t want the above code to be executed if my string is already in half-width. </p>
  
  <p>How can I check if a string is half width or full width?</p>