Home Forums Hive / HCatalog INSTR with UTF8 String

This topic contains 0 replies, has 1 voice, and was last updated by  ckran 7 months ago.

  • Creator
    Topic
  • #50446

    ckran
    Participant

    Using the INSTR fuction to find the posistion of a substring within a string works fine for normal ANSI data but for UTF8 it always returns zero. I saw this issue with a file but it also occurs when using a string constant, for example:

    select SUBSTR (‘НАСТРОЕние’, ‘P’) from …

You must be logged in to reply to this topic.