Date: Friday, January 26, 2007 @ 15:16:16
Author: marc
Path: /cvsroot/carob/carob
Modified: src/JavaSocket.cpp (1.83 -> 1.84)
test/01-Unit/TestStringCodecs.cpp (1.11 -> 1.12)
Moved locale documentation/comments to doc/locales
-----------------------------------+
src/JavaSocket.cpp | 5 ++---
test/01-Unit/TestStringCodecs.cpp | 20 ++------------------
2 files changed, 4 insertions(+), 21 deletions(-)
Index: carob/src/JavaSocket.cpp
diff -u carob/src/JavaSocket.cpp:1.83 carob/src/JavaSocket.cpp:1.84
--- carob/src/JavaSocket.cpp:1.83 Thu Jan 25 21:43:29 2007
+++ carob/src/JavaSocket.cpp Fri Jan 26 15:16:16 2007
@@ -76,9 +76,8 @@
}
}
-// On linux or MACOSX>10.4 try "locale -a" to get the list of all available
locales.
-// TODO: it would be nice to be able to get this at runtime
-// (in a non-portable way quite obviously...)
+
+// See carob/doc/locales
// An empty string "" will get the "default" C++ locale, typically set
// at run-time using environnement variables like LANG/LC_XXX. This
Index: carob/test/01-Unit/TestStringCodecs.cpp
diff -u carob/test/01-Unit/TestStringCodecs.cpp:1.11
carob/test/01-Unit/TestStringCodecs.cpp:1.12
--- carob/test/01-Unit/TestStringCodecs.cpp:1.11 Tue Jan 23 14:38:37 2007
+++ carob/test/01-Unit/TestStringCodecs.cpp Fri Jan 26 15:16:16 2007
@@ -28,27 +28,11 @@
#include <iostream>
-/*
- Build/Install a locale.
-
- - On debian-based distros, type as root:
- # dpkg-reconfigure locales
+// See carob/doc/locales
+// don't forget add a pointer to doc/locales from JavaSocket.cpp
tryUTF8locale()
- - Manually:
- cd /usr/share/i18n
- ls locales/
- fr_FR ...
- ls charmaps/
- ISO-8859-5.gz ...
- localedef -i fr_FR -f ISO-8859-15 my.locale
- locale -a
- my.locale ...
- export LANG=my.locale
-
- For SuSE See:
<http://www.google.com/search?q=SUSE+LINUX+Language+and+Country-Specific+Settings++localedef>
-*/
using namespace CarobNS;
_______________________________________________
Carob-commits mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/carob-commits