The options and preferences are used for the descriptor validator when the markers are targeted to portlet.xml and liferay-hook.xml, now the markers are directly targeted to the properties files, the two xml files will have no error or warning markers of encoding, so I deleted them.