Quoting from the great Wiki
"Like other wire, magnet wire is classified by diameter (AWG number or SWG) or area (square millimetres), temperature class, and insulation class.
Breakdown voltage depends on the thickness of the covering, which can be of 3 types: Grade 1, Grade 2 and Grade 3. Higher grades have thicker insulation and thus higher breakdown voltages.
The temperature class indicates the temperature of the wire where it has a 20,000 hour service life. At lower temperatures the service life of the wire is longer (about a factor 2 for every 10 °C lower temperature). Common temperature classes are 105° C, 130° C, 155° C, 180° C and 220° C."
Calculation of breakdown voltage (Test acc. To IEC 60851.5.4.2, cylinder)
The breakdown voltage depends mainly on the thickness of the insulation (see formula below), but also on the bare wire diameter, the application temperature of the coil and the type of enamel.
Calculation of average values Ds:
Ds = t x Vμ [Volt], with
Ds : breakdown voltage
T : increase due to insulation,
t = da – dnom, : wire diameters with and without insulation
Vμm = volts per micron insulation (dependent on type of insulation)
Example:
Test with cylindrical electrode (round wire)
dnom 0.071mm (bare wire nominal diameter)
da = 0.083mm (wire with coating)
t = da – dnom = 0.083 – 0.071 = 0.012mm = 12μm (thickness of insulation between wires)
Vμ = 205 V/μm, therefore
Ds = 12μ x 205 V/μ = 2,460 V
It all depends on what insulation is used. There are lots of different kinds of insulation and manufacturers make them with different thicknesses (single build, double build, triple build, etc.). Most data sheets show the results of an scrape abrasion test. In this test, a sample of the magnet wire is secured firmly in place and a needle is scraped along the surface of the magnet wire. The datasheet usually records the number of scrapes the insulation can withstand until the needle breaks through the insulation and shorts the wire.
So that spec on the data sheets will give you a good relative feel for how different magnet wire types compare to each other. But it doesn't really answer your question of how well magnet wire will work for what you are doing. Here are a couple of thoughts. I think you'd be surprised how tough a good quality magnet wire can be. A popular type in the motor industry is a heavy build MW-35. It holds up pretty well and should be able to withstand being assembled. Just try not to use any sharp/pointed tools that could scrape or puncture the insulation. Also keep in mind that for many, many magnet wire applications like motors and transformers, the magnet wire gets coated with a varnish or epoxy to give it more long term protection against rubbing, vibration, etc. That doesn't mean your application would need varnish but magnet wire is very often used that way.
I think if you pick a good quality magnet wire and are careful not to nick or scrape it during assembly, you should be okay.
Best Answer
It can be more than just capacitive coupling between the windings of the transformer. Some designs couple high frequency output noise (due to the switching action of the controller) back to the nearest thing to ground that is available and that generally means the high voltage DC supply line after the AC power rectifier. Coupling is done with a capacitor like this: -
So, it trades better EMC performance for a slight tingle when you touch the DC output wires or you touch the metal parts of the device it is charging.