I have had to go to longer than standard cables on both the rear brakes and derailleur. It depends on
the cable routing of your bike, it seems. If you buy the cables from a local bike shop they will probably
exchange the cable for a different one if it does not work. Best to ask, when you buy it.