0

I'm trying to convert Full-width katakana to Half-width katakana

I tried to use

string userInput = "ラーメン";    
result = userInput.Normalize(NormalizationForm.FormKC)

reference: https://stackoverflow.com/a/25149897/12744547

Expected result: "ラーメン"

Actual result: "ラーメン" same as input

it only works on numbers letters and symbols not in actual katakana/Japanese Character.

  • I found this sample on how to convert from half-width to full-width and its working fine for me but I don't know how to reverse this method reference: https://stackoverflow.com/a/60237910/12744547 – Rayner Pangan Mar 11 '22 at 09:44
  • Does this help? https://stackoverflow.com/questions/15331818/how-to-convert-double-byte-string-to-single-byte-string – DubDub Mar 11 '22 at 10:14
  • i tried but it returns "???" – Rayner Pangan Mar 11 '22 at 11:03

0 Answers0