set posixFile to quoted form of (POSIX path of (choose file with prompt "Choose a document:"))

set myCommand to "sed -i .bak s/¥/" & quoted form of ((ASCII character 128) & (ASCII character 128)) & "/g "

do shell script myCommand & posixFile