You can see if the wire is made corresponding to the USB 1.x/2.0 standard. (All USB cables should follow the standard, but many manufacturers don't respect this and use whatever cables they get cheap.)
The Pin-out and wire colors can be found here:
USB Wikipedia the free encyclopedia
(scroll down to "Pinouts", also provided below)
USB 1.x/2.0 standard pinout
1 VBUS Red (or orange) +5V
2 White (or gold) Data?
3 Green Data+
Black (or blue) Ground
Hope this helps!