git-svn-id: trunk@19302 -
@@ -59,6 +59,8 @@ uses
current_asmdata.getdatalabel(referencelab);
list.concat(tai_label.create(referencelab));
end;
+ if (encoding=0) then
+ encoding:=CP_NONE;
if (encoding=CP_NONE) and (m_systemcodepage in current_settings.modeswitches) then
encoding:=current_settings.sourcecodepage;
list.concat(tai_const.create_16bit(encoding));