Before we start I must say:
In NO WAY do I encourage anyone to enter into a situation again someone with a knife.
If there is no escape, here is just one approach you may find useful.
This is just one possible defence against an opponent with a knife
if avoidance is simply not an option.