search for: utf32

Displaying 5 results from an estimated 5 matches for "utf32".

Did you mean: utf
2011 Oct 04
2
[LLVMdev] [cfe-dev] Unicode path handling on Windows
...he typo. Index: lib/Basic/ConvertUTF.c =================================================================== --- lib/Basic/ConvertUTF.c (revision 141071) +++ lib/Basic/ConvertUTF.c (working copy) @@ -218,74 +218,7 @@ + /* Figure out how many bytes the result will require */ + if (ch < (UTF32)0x80) { bytesToWrite = 1; + } else if (ch < (UTF32)0x800) { bytesToWrite = 2; + } else if (ch < (UTF32)0x10000) { bytesToWrite = 3; + } else if (ch < (UTF32)0x110000) { bytesToWrite = 4; + } else { bytesToWrite = 3; + ch = UNI...
2011 Oct 04
0
[LLVMdev] [cfe-dev] Unicode path handling on Windows
In that case I think that this is it :) On Tue, Oct 4, 2011 at 8:24 AM, Bryce Cogswell <bryceco at gmail.com> wrote: > That should be fine. I don't believe the concern about performing a > char-by-char conversion is valid; for example the NTFS-3G driver uses a > simplistic upcase table and seems to work fine. I suspect Windows does the > same. > > -------------- next
2011 Oct 04
2
[LLVMdev] [cfe-dev] Unicode path handling on Windows
That should be fine. I don't believe the concern about performing a char-by-char conversion is valid; for example the NTFS-3G driver uses a simplistic upcase table and seems to work fine. I suspect Windows does the same. On Oct 3, 2011, at 1:12 PM, Nikola Smiljanic wrote: > How about this: > > for (int i = 0; i != NumWChars; ++i) > absPath[i] = std::tolower(absPath[i],
2011 Oct 04
0
[LLVMdev] [cfe-dev] Unicode path handling on Windows
...> + for (int i = 0; i != argc; ++i) > + { > + // check lenght > > May want to correct the typo. > > Fixed > > I think this should be formatted more like this to meet our coding > standards (but am not 100% sure, so I will defer to others): > > if (ch < (UTF32)0x80) > bytesToWrite = 1; > else if (ch < (UTF32)0x800) > bytesToWrite = 2; > ... > else > ch = UNI_REPLACEMENT_CHAR; > > I haven't touched this code. I only took the function out of the section that was commented out. -------------- next part -------------- An HT...
2013 Apr 18
0
Processed: adding new jessie tag to sid-tagged bugs
...3-686: module sn9c102 over gspca_sonixb Bug #579332 [linux-2.6] linux-image-2.6.32-3-686: module sn9c102 over gspca_sonixb Added tag(s) jessie. Added tag(s) jessie. > tags 634409 + jessie Bug #634409 [src:libparserutils] libparserutils: FTBFS: src/input/inputstream.c:484:18: error: variable 'utf32' set but not used [-Werror=unused-but-set-variable] Added tag(s) jessie. > tags 428215 + jessie Bug #428215 [enigmail] enigmail: 2:0.95.0+1-3 fails to allow you to send email Added tag(s) jessie. > tags 590547 + jessie Bug #590547 [evolution] evolution: unable to connect to IMAP server (g...