PARIS — The French Senate on Tuesday overwhelmingly voted to ban the wearing of the Islamic all-body veil, or burqa, in all public places.

Following the passage of the bill in the National Assembly in July, the ban is now scheduled to come into law early next year, after six months of mediation and briefings on what the law entails.

The law will impose a fine of 150 euros (about $192) or a lesson in citizenship on any woman caught wearing the burqa outside her home. A man convicted of forcing a woman to wear the garment, meanwhile, would be liable to a fine of up to 30,000 euros (about $39,000) and a one-year prison sentence.

The approval of the bill, by 246 to 1, was widely expected, since the ruling UMP party has a sizable majority in the body and opposition Socialists said they would not oppose it.

The law declares that “no one may wear a garment aimed at concealing his face in a public area.” It does not, therefore, target the burqa specifically, but can also be applied to a demonstrator or anyone else who conceals his face with a hood and bandana.

The bill was intentionally worded in a vague manner to avoid charges that it specifically targeted Muslims.

However, Socialists as well as France’s highest administrative body, the Council of State, have warned that a total ban on full-body Islamic veils in public risks being found unconstitutional.

The Council of State warned earlier this year that even a limited ban would be difficult to enforce, since it risks violating the French constitution and the European Convention for the Protection of Human Rights.