Just chopped two USB cables,but one of them looks unusual
By using a multimeter and some common sense, we can:

Ignore the colors.
Check the expected pinout for the particular USB connector. Likely 1) +, 2) D+, 3) D-, 4) GND.
Use a multimeter to tell which wire that happens to be connected to which pin, then connect them accordingly.