I learned that vowels are often nasalized before nasals (Nasalization). It means that the velum is lowered when the vowel is produced in the mouth and most of the air comes out through nose. For example, the [a] in the word "man" is nasalized because it comes before the nasal [n]. We mark nasalization by a tilde over the nasalized vowel.
"Man" = [mãn]
I didn't find any information about diphthongs nasalization and I wonder if they are nasalized before nasals.
For example, the diphthong [aɪ] comes before a nasal in the word "mine". Is it nasalized? If it is, how should I represent it?
[mãɪ̃n] or [maɪ̃n]?
Which vowel between the two vowels of a diphthong is nasalized? And where should the tilde go?
There are some disagreements in the comments. I believe most people here confused my question with "spelling", which is not my concern. This is IPA transcription, not spelling. French has nasalized vowels in "spelling" so that's completely different.