As one of islands in English, whether-island constraints do not allow any phrases to be out of whether-clause, the sentence in (1) becomes ungrammatical.
wh-in-situ languages, such as Korean, do not exhibit such island effects as in (2).