search for: utf8_encode

Displaying 6 results from an estimated 6 matches for "utf8_encode".

2001 Sep 30
3
UTF-8 stuff
...a test for nl_langinfo(CODESET). This is the function that lets you discover the charset of the user's locale without forcing them to use a command-line argument. configure.in: Use AM_LANGINFO_CODESET. utf8.h, utf8.c: These files are totally rewritten, apart from the Windows part. Instead of utf8_encode() and utf8_decode() there's convert_to_utf8() and convert_from_utf8(), which no longer have an "encoding" argument. oggenc.c, vcomment.c: Call setlocale(), so that nl_langinfo() will work. Remove the "encoding" option and "encoding" arguments. Instead there's...
2001 Sep 22
2
vorbis-tools reorganziation and UTF-8 stuff
...le people out there: 1. Check vorbiscomment to make sure I really did fix UTF-8 encoding on it. (I don't know how to test it.) 2. Write utf8_decode() routines for vorbis-tools/share/utf8.c. We actually need three implementations: Windows, UNIX with iconv and UNIX without iconv. Look at the utf8_encode() routines for examples of what I'm talking about. There are already utf8_decode() stubs in both the Win32 and UNIX #ifdef sections. 3. Update ogginfo to use the newly written utf8_decode() routines. Whoever does #2 should do #3 so they have a testbed for their work. 4. Fix oggenc building...
2012 Feb 07
10
Encoding error
Hello, I have in my db a register what have special characters, and when I try to put on my form to edit this values, this happens: incompatible character encodings: UTF-8 and ASCII-8BIT Extracted source (around line #4): 1: <%= form_for :group, :url => { :action => "update" } do |f| %> 2: <%= utf8_enforcer_tag %> 3: <label>Nome do grupo</label>
2012 Feb 26
0
Testing needed
...#39; from incompatible pointer type [enabled by default] f:\mingw02\mingw-pc-i686\bin\../lib/gcc/mingw32/4.6.2/../../../../include/iconv.h:83:15: note: expected 'const char **' but argument is of type 'char **' f:/src/mingw-flac/flac-1.2.2-rc1/src/share/utf8/utf8.c: In function 'utf8_encode': f:/src/mingw-flac/flac-1.2.2-rc1/src/share/utf8/utf8.c:184:6: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] f:/src/mingw-flac/flac-1.2.2-rc1/src/share/utf8/utf8.c: In function 'utf8_decode': f:/src/mingw-flac/flac-1.2.2-rc1/src/share/utf8/utf8.c:198:5: w...
2010 Jun 09
1
TermGenerator incorrectly tokenizes German text which contains special characters
...ble is detected as ASCII. *// http://www.php.net/manual/en/function.utf8-encode.php#89789 function fixEncoding($in_str) { $cur_encoding = mb_detect_encoding($in_str) ; if($cur_encoding == "UTF-8" && mb_check_encoding($in_str,"UTF-8")) return $in_str; else return utf8_encode($in_str); } // fixEncoding if (mb_detect_encoding($lString) == "ASCII") $lString = mb_convert_encoding($lString, "UTF-8", "ASCII");* Only by adding a special character to the variable it gets detected as UTF-8 (in all cases the string was correctly encoded checked...
2012 Feb 26
5
Testing needed
Hi all, I think we're getting close to the first FLAC release in over 4 years. I have tested whats currently in Git on x86, x86_64 and PowerPC Linux and would appreciate reports of successful compiles (and even more importantly any failures) on OSX, Windows and elsewhere. Cheers, Erik -- ---------------------------------------------------------------------- Erik de Castro Lopo