Before I answer have a look here:
and here
If you compare photos illustrating encoders it seems that they are the same for both units.
So I would say yes. However, I can’t guarantee it as I haven’t replaced them in my A4 but I am nearly certain that they will do the trick.
The bottom line is that they are fairly cheap and you are not risking much having a go.
Be careful when ordering and double check if you are getting the ones you want (with or without detents/switch).
Hope that helps.