That is why parents whose children do not have the same surname should carry additional documents as evidence that these are their own children. If in doubt please contact the ministry of foreign affairs in your destination country to check if there are any specific local regulations.
En général, vous obtiendrez des informations dans votre langue nationale auprès du Ministère des Affaires étrangères.