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cHM6Ly9zdGFja292ZXJmbG93LmNvbS9xdWVzdGlvbnMvMjk5NTExMS93aHktaXNudC11
dGYtOC1hbGxvd2VkLWFzLXRoZS1hbnNpLWNvZGUtcGFnZS4NCiANCg0KDQo=
--9nlWnTS9ocNmxdhsK3FKVLWiM6a5jwOaA8HvrLV
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 7bit
<head>
<style type="text/css">
<!--
/* start of attachment style */
.ygrp-photo-title{
clear: both;
font-size: smaller;
height: 15px;
overflow: hidden;
text-align: center;
width: 75px;
}
div.ygrp-photo{
background-position: center;
background-repeat: no-repeat;
background-color: white;
border: 1px solid black;
height: 62px;
width: 62px;
}
div.photo-title
a,
div.photo-title a:active,
div.photo-title a:hover,
div.photo-title a:visited {
text-decoration: none;
}
div.attach-table div.attach-row {
clear: both;
}
div.attach-table div.attach-row div {
float: left;
/* margin: 2px;*/
}
p {
clear: both;
padding: 15px 0 3px 0;
overflow: hidden;
}
div.ygrp-file {
width: 30px;
valign: middle;
}
div.attach-table div.attach-row div div a {
text-decoration: none;
}
div.attach-table div.attach-row div div span {
font-weight: normal;
}
div.ygrp-file-title {
font-weight: bold;
}
/* end of attachment style */
-->
</style>
</head>
<html>
<head>
<style type="text/css">
<!--
#ygrp-mkp {
border: 1px solid #d8d8d8;
font-family: Arial;
margin: 10px 0;
padding: 0 10px;
}
#ygrp-mkp hr {
border: 1px solid #d8d8d8;
}
#ygrp-mkp #hd {
color: #628c2a;
font-size: 85%;
font-weight: 700;
line-height: 122%;
margin: 10px 0;
}
#ygrp-mkp #ads {
margin-bottom: 10px;
}
#ygrp-mkp .ad {
padding: 0 0;
}
#ygrp-mkp .ad p {
margin: 0;
}
#ygrp-mkp .ad a {
color: #0000ff;
text-decoration: none;
}
-->
</style>
</head>
<body>
<!-- |**|begin egp html banner|**| -->
<br><br>
<!-- |**|end egp html banner|**| -->
I cannot explain these things without more detail. You need to do more to analyse which items fails and why exactly they fail<div><br></div><div>MBCS is not UTF8! </div><div><br></div><div>I don't know PPro cannot handle MBCS strings in generall, especially if your default code page is not ansi. If the menu items are using MBCS, that could be an issue. Or in fact any use of MBCS could cause problems. I am not sure; it could be that using the unicode version of ppro with mbcs strings is an issue. You need to use UTF8.</div><div><br></div><div>I suggest compiling with uft-16 and converting strings to utf 8 before sending to PPro. PPro does a lot of similar conversions internally.</div><div><br></div><div>II did a google search and found this
in a Q&A forum. From your questions here, it does not seem that you do this kind of research when you have new problems.</div><div><br></div><div>[start of quote]</div><div><p style="margin-bottom:1em;border:0px;font-stretch:inherit;line-height:inherit;font-family:Arial,;font-size:15px;vertical-align:baseline;clear:both;color:rgb(36, 39, 41);background-color:rgb(255, 255, 255);">MBCS stands for "multi-byte character set". For the literal minded, it seems that UTF-8 would qualify.</p><p style="margin-bottom:1em;border:0px;font-stretch:inherit;line-height:inherit;font-family:Arial,;font-size:15px;vertical-align:baseline;clear:both;color:rgb(36, 39, 41);background-color:rgb(255, 255, 255);">But in Windows, "MBCS" only refers to character encodings that can be
used with the "A" versions of the Windows API functions. This includes code pages 932 (Shift_JIS), 936 (GBK), 949 (KS_C_5601-1987), and 950 (Big5), but <strong style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-stretch:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline;">NOT</strong> UTF-8.</p><p style="margin-bottom:1em;border:0px;font-stretch:inherit;line-height:inherit;font-family:Arial,;font-size:15px;vertical-align:baseline;clear:both;color:rgb(36, 39, 41);background-color:rgb(255, 255, 255);">To use UTF-8, you have to convert the string to UTF-16 using <code style="margin-top:0px;margin-bottom:0px;padding:1px 5px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inheri
t;line-height:inherit;font-family:Consolas, Menlo, Monaco,;font-size:13px;vertical-align:baseline;background-color:rgb(239, 240, 241);white-space:pre-wrap;">MultiByteToWideChar</code>, call the "W" version of the function, and call <code style="margin-top:0px;margin-bottom:0px;padding:1px 5px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:inherit;font-family:Consolas, Menlo, Monaco,;font-size:13px;vertical-align:baseline;background-color:rgb(239, 240, 241);white-space:pre-wrap;">WideCharToMultiByte</code> on the output. This is essentially what the "A" functions actually do, which makes me wonder <a rel="nofollow" target="_blank" href="https://stackoverflow.com/questions/2995111/why-isnt-utf-8-all
owed-as-the-ansi-code-page" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline;color:rgb(0, 89, 153);cursor:pointer;">why Windows doesn't just support UTF-8</a>.</p><p style="margin-bottom:1em;border:0px;font-stretch:inherit;line-height:inherit;font-family:Arial,;font-size:15px;vertical-align:baseline;clear:both;color:rgb(36, 39, 41);background-color:rgb(255, 255, 255);"><br></p></div>
<!-- |**|begin egp html banner|**| -->
<br>
<br>
<!-- |**|end egp html banner|**| -->
<div width="1" style="color: white; clear: both;"/>__._,_.___</div>
<div id="fromDMARC" style="clear:both; margin-top: 10px;">
<hr style="height:2px ; border-width:0; color:#E3E3E3; background-color:#E3E3E3;">
Posted by: brucexs-/[email protected] <hr style="height:2px ; border-width:0; color:#E3E3E3; background-color:#E3E3E3;">
</div>
<!-- Start Recommendations -->
<!-- End Recommendations -->
<!-- |**|begin egp html banner|**| -->
<br><br>
<tt>
PowerPro's download site: <a href="http://powerpro.cresadu.com/">http://powerpro.cresadu.com/</a></tt>
<br><br>
<!-- |**|end egp html banner|**| -->
<!-- |**|begin egp html banner|**| -->
<img src="http://geo.yahoo.com/serv?s=97476590/grpId=2487777/grpspId=1706030409/msgId=44322/stime=1565090856" width="1" height="1"> <br>
<!-- |**|end egp html banner|**| -->
<!-- |**|begin egp html banner|**| -->
<br>
<!-- |**|begin egp html banner|**| -->
<div id="ygrp-vital" style="background-color: #f2f2f2; font-family: Verdana; font-size: 10px; margin-bottom: 10px; padding: 10px;">
<span id="vithd" style="font-weight: bold; color: #333; text-transform: uppercase; "><a href="https://groups.yahoo.com/neo/groups/power-pro/info;_ylc=X3oDMTJlOWdlZzE2BF9TAzk3MzU5NzE0BGdycElkAzI0ODc3NzcEZ3Jwc3BJZAMxNzA2MDMwNDA5BHNlYwN2dGwEc2xrA3ZnaHAEc3RpbWUDMTU2NTA5MDg1Ng--" style="text-decoration: none;">Visit Your Group</a></span>
<ul style="list-style-type: none; margin: 0; padding: 0; display: inline;">
</ul>
</div>
<div id="ft" style="font-family: Arial; font-size: 11px; margin-top: 5px; padding: 0 2px 0 0; clear: both;">
<a href="https://groups.yahoo.com/neo;_ylc=X3oDMTJkaDBkbWtpBF9TAzk3NDc2NTkwBGdycElkAzI0ODc3NzcEZ3Jwc3BJZAMxNzA2MDMwNDA5BHNlYwNmdHIEc2xrA2dmcARzdGltZQMxNTY1MDkwODU2" style="float: left;"><img src="http://l.yimg.com/ru/static/images/yg/img/email/new_logo/logo-groups-137x15.png" height="15" width="137" alt="Yahoo! Groups" style="border: 0;"/></a>
<div style="color: #747575; float: right;"> • <a href="https://info.yahoo.com/privacy/us/yahoo/groups/details.html" style="text-decoration: none;">Privacy</a> • <a href="mailto:[email protected]?subject=Unsubscribe" style="text-decoration: none;">Unsubscribe</a> • <a href="https://info.yahoo.com/legal/us/yahoo/utos/terms/" style="text-decoration: none;">Terms of Use</a> </div>
</div>
<!-- |**|end egp html banner|**| -->
</div> <!-- ygrp-msg -->
<br>
<!-- |**|end egp html banner|**| -->
<div style="color: white; clear: both;"/>__,_._,___</div>
</body>
</html>
--9nlWnTS9ocNmxdhsK3FKVLWiM6a5jwOaA8HvrLV--