added lang and charset parameters