Force UTF-8 string literals.

develop
JapaMala 2018-12-26 00:39:16 -06:00
parent bacd3e6790
commit e6f7900c52
1 changed files with 28 additions and 28 deletions

@ -320,7 +320,7 @@ command_result Dump_Trees(color_ostream &out, vector<string> &parameters)
if (tile.bits.blocked) if (tile.bits.blocked)
output << "x"; output << "x";
else if (tile.bits.twigs) else if (tile.bits.twigs)
output << "\u2591"; output << u8"\u2591";
else if (tile.bits.branches) else if (tile.bits.branches)
{ {
if (tile.bits.connection_east)// East Connection if (tile.bits.connection_east)// East Connection
@ -332,16 +332,16 @@ command_result Dump_Trees(color_ostream &out, vector<string> &parameters)
if (tile.bits.connection_north) // North Connection if (tile.bits.connection_north) // North Connection
{ {
if (tile.bits.trunk) if (tile.bits.trunk)
output << "\u256c"; output << u8"\u256c";
else else
output << "\u253c"; output << u8"\u253c";
} }
else else
{ {
if (tile.bits.trunk) if (tile.bits.trunk)
output << "\u2566"; output << u8"\u2566";
else else
output << "\u252c"; output << u8"\u252c";
} }
} }
else else
@ -349,16 +349,16 @@ command_result Dump_Trees(color_ostream &out, vector<string> &parameters)
if (tile.bits.connection_north) // North Connection if (tile.bits.connection_north) // North Connection
{ {
if (tile.bits.trunk) if (tile.bits.trunk)
output << "\u2560"; output << u8"\u2560";
else else
output << "\u251c"; output << u8"\u251c";
} }
else else
{ {
if (tile.bits.trunk) if (tile.bits.trunk)
output << "\u2554"; output << u8"\u2554";
else else
output << "\u250c"; output << u8"\u250c";
} }
} }
} }
@ -369,16 +369,16 @@ command_result Dump_Trees(color_ostream &out, vector<string> &parameters)
if (tile.bits.connection_north) // North Connection if (tile.bits.connection_north) // North Connection
{ {
if (tile.bits.trunk) if (tile.bits.trunk)
output << "\u2569"; output << u8"\u2569";
else else
output << "\u2534"; output << u8"\u2534";
} }
else else
{ {
if (tile.bits.trunk) if (tile.bits.trunk)
output << "\u2550"; output << u8"\u2550";
else else
output << "\u2500"; output << u8"\u2500";
} }
} }
else else
@ -386,14 +386,14 @@ command_result Dump_Trees(color_ostream &out, vector<string> &parameters)
if (tile.bits.connection_north) // North Connection if (tile.bits.connection_north) // North Connection
{ {
if (tile.bits.trunk) if (tile.bits.trunk)
output << "\u255a"; output << u8"\u255a";
else else
output << "\u2514"; output << u8"\u2514";
} }
else else
{ {
if (tile.bits.trunk) if (tile.bits.trunk)
output << "\u255e"; output << u8"\u255e";
else else
output << ">"; output << ">";
} }
@ -409,16 +409,16 @@ command_result Dump_Trees(color_ostream &out, vector<string> &parameters)
if (tile.bits.connection_north) // North Connection if (tile.bits.connection_north) // North Connection
{ {
if (tile.bits.trunk) if (tile.bits.trunk)
output << "\u2563"; output << u8"\u2563";
else else
output << "\u2524"; output << u8"\u2524";
} }
else else
{ {
if (tile.bits.trunk) if (tile.bits.trunk)
output << "\u2557"; output << u8"\u2557";
else else
output << "\u2510"; output << u8"\u2510";
} }
} }
else else
@ -426,14 +426,14 @@ command_result Dump_Trees(color_ostream &out, vector<string> &parameters)
if (tile.bits.connection_north) // North Connection if (tile.bits.connection_north) // North Connection
{ {
if (tile.bits.trunk) if (tile.bits.trunk)
output << "\u2551"; output << u8"\u2551";
else else
output << "\u2502"; output << u8"\u2502";
} }
else else
{ {
if (tile.bits.trunk) if (tile.bits.trunk)
output << "\u2565"; output << u8"\u2565";
else else
output << "v"; output << "v";
} }
@ -446,14 +446,14 @@ command_result Dump_Trees(color_ostream &out, vector<string> &parameters)
if (tile.bits.connection_north) // North Connection if (tile.bits.connection_north) // North Connection
{ {
if (tile.bits.trunk) if (tile.bits.trunk)
output << "\u255d"; output << u8"\u255d";
else else
output << "\u2518"; output << u8"\u2518";
} }
else else
{ {
if (tile.bits.trunk) if (tile.bits.trunk)
output << "\u2561"; output << u8"\u2561";
else else
output << "<"; output << "<";
} }
@ -463,7 +463,7 @@ command_result Dump_Trees(color_ostream &out, vector<string> &parameters)
if (tile.bits.connection_north) // North Connection if (tile.bits.connection_north) // North Connection
{ {
if (tile.bits.trunk) if (tile.bits.trunk)
output << "\u2568"; output << u8"\u2568";
else else
output << "^"; output << "^";
} }
@ -472,7 +472,7 @@ command_result Dump_Trees(color_ostream &out, vector<string> &parameters)
if (tile.bits.trunk) if (tile.bits.trunk)
output << "o"; output << "o";
else else
output << "\u2592"; output << u8"\u2592";
} }
} }
} }