• When "/KJ" option is specified in the CCU8 compiler and the Escape sequence "\", etc. are included in the string table, the following error is output.

    (E3005: Illegal Escape sequence)
    • When /KJ option is specified and the string table contains "\"", it cannot be read correctly. There are no problems for other Escape sequences.

      Two workarounds are shown next. Either workaround solves the problem; therefore, please use the one with less correction amount.

      [Workaround 1]
      When not specifying /KJ option:
      When the string table contains the following SHIFT-JIS Kanji, replace the SHIFT-JIS Kanji with the hex code.

       815C: ―, 835C: ソ, 845C: Ы, 875C: Ⅸ, 895C: 噂, 8A5C: 浬, 8B5C: 欺, 8C5C: 圭, 8D5C: 構, 8E5C: 蚕, 8F5C: 十, 905C: 申, 915C: 曾, 925C: 箪, 935C: 貼, 945C: 能, 955C: 表, 965C: 暴, 975C: 予, 985C: 禄, 995C: 兔, 9A5C: 喀, 9B5C: 媾, 9C5C: 彌, 9D5C: 拿, 9E5C: 杤, 9F5C: 歃, E05C: 濬, E15C: 畚, E25C: 秉, E35C: 綵, E45C: 臀, E55C: 藹, E65C: 觸, E75C: 軆, E85C: 鐔, E95C: 饅, EA5C: 鷭, ED5C: 偆, EE5C: 砡, FA5C: 纊, FB5C: 犾
      An example is shown below.

      char string[] = "\"表示\"";

      char string[] = "\"\x95\x5c示\"";

      [Workaround 2]
      When the /KJ is specified:
      As shown below, when including "\" to the string table, change "\" to \x22, and specify /KJ option at compiling.

      char string[] = "\"表示\"";

      char string[] = "\x22表示\x22";

      Related Products: ML610(Q)40x, ML610(Q)42x, ML610(Q)47x, ML610(Q)48x, ML610Q10x, ML610Q11x, ML610Q17x, ML610Q30x, ML610Q35x, ML610Q36x, ML610Q38x, ML610Q41x, ML610Q43x, ML610Q46x, ML620Q13x, ML620Q15x, ML620Q416/ML620Q418, ML620Q503H/ML620Q504H/ML620Q506H, ML62Q12xx, ML62Q13xx, ML62Q14xx, ML62Q15xx/ML62Q18xx, ML62Q16xx, ML62Q17xx

    • Products: General-purpose MCUs (16bit) , Speech playback MCUs (8bit)