Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
745e130a
Commit
745e130a
authored
Mar 26, 2004
by
bar@bar.intranet.mysql.r18.ru
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
charset2html.c:
Don't print control characters
parent
447baa90
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
3 deletions
+15
-3
mysys/charset2html.c
mysys/charset2html.c
+15
-3
No files found.
mysys/charset2html.c
View file @
745e130a
...
...
@@ -93,9 +93,21 @@ static void print_cs(CHARSET_INFO *cs)
ch
[
i
].
ctp
&
_MY_B
?
"B"
:
""
,
ch
[
i
].
ctp
&
_MY_X
?
"X"
:
""
);
printf
(
"<TD>&#%d;"
,
ch
[
i
].
uni
);
printf
(
"<TD>&#%d;"
,
ch
[
i
].
low
);
printf
(
"<TD>&#%d;"
,
ch
[
i
].
upp
);
if
((
ch
[
i
].
uni
>=
0x80
)
&&
(
ch
[
i
].
uni
<=
0x9F
))
{
/*
Control characters 0x0080..0x009F are dysplayed by some
browers as if they were letters. Don't print them to
avoid confusion.
*/
printf
(
"<TD>ctrl<TD>ctrl<TD>ctrl"
);
}
else
{
printf
(
"<TD>&#%d;"
,
ch
[
i
].
uni
);
printf
(
"<TD>&#%d;"
,
ch
[
i
].
low
);
printf
(
"<TD>&#%d;"
,
ch
[
i
].
upp
);
}
printf
(
"</TR>
\n
"
);
srt
=
ch
[
i
].
srt
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment