Mandarin and Cantonese, two of several Chinese dialects, share the same Chinese writing system based on Chinese characters. But the same character is pronounced differently depending on the dialect. So a name can be transliterated in "Cantonese way" or "Mandarin way," yes.