Volkswagen AG (VOW.XE) said Wednesday that second-quarter after-tax profit and sales rose, despite earnings being hit by a charge related to its diesel-emissions crisis.

After-tax profit in the quarter came to EUR3.31 billion euros ($3.88 billion), compared with EUR3.10 billion in the year-earlier period, the German car maker said. Operating profit declined 13% to EUR3.95 billion, while sales rose 3.4% to EUR61.15 billion.