A 12-volt charger is designed to provide 12 volts of power, which is more than the 8 volts that the battery is designed to receive. This can cause the battery to overheat, which can damage the cells and shorten the battery's lifespan. Additionally, overcharging an 8-volt battery with a 12-volt charger can cause the battery to explode.
If you need to charge an 8-volt battery, it is best to use a charger that is specifically designed for 8-volt batteries. These chargers are designed to provide the correct amount of power to the battery without overheating it or causing damage.