...
I avoid the universal brake cables, as cutting off an end-piece might leave you with a frayed end that is harder to route through housing - especially if you don’t carry quality wire cutters on the road.
I learned a trick on another forum, dip your cut cable end into Superglue and let it harden. The cut end is not as durable as the cables that have a welded end, but it does a pretty good job of preventing fraying while handling the cable before you can crimp an end piece on it.
I do not know how long you have to wait for the Superglue to harden and not get stuck to something else, I gave it 15 min which was more than adequate.
I bought several tiny single use tubes of Superglue that were quite inexpensive for that purpose.