Here you can find the source of normalize(String s)
Parameter | Description |
---|---|
s | a parameter |
private static String normalize(String s)
//package com.java2s; //License from project: Apache License public class Main { /**//ww w . j av a 2 s. com * java.text.Normalizer is only available for jdk 1.6. Since it isnt * really required and we don't want to annoy our 1.5 colleagues, this * is commented out. * * It isnt really needed because URLs still get consistently encoded and * decoded without it. Its just that you might get different results on different * platforms * * @param s * @return */ private static String normalize(String s) { //return Normalizer.normalize(s, Normalizer.Form.NFC); return s; } }