No, it is not safe to use a 12v battery charger on a 9v battery. You should never charge a 9v battery with a 12v battery charger. You can damage your battery and it can also be dangerous for you and other people around you.