The Butterfly Murders (1979)
The Butterfly Murders is a 1979 Hong Kong wuxia film directed by Tsui Hark. It has elements of history and a murder mystery. The film is not widely available on tape or DVD in the West (there is a German and a French release), though there was a Hong Kong release.
More at Wikipedia.